In PyTorch the size and shape of a tensor mean the same thing. ... Size([12]) > print(t.reshape([1,12]).squeeze().unsqueeze(dim=0)) > ...
確定! 回上一頁