shape (tuple of python:ints) – the new shape. Example: >>> a = torch.arange(4.) >>> torch.reshape(a, (2, 2)) tensor([[ 0., 1.], [ 2., 3.]]) ...
確定! 回上一頁