import torch x = torch.arange(6) describe(x) Type: torch.FloatTensor Values: Shape/size: torch.Size([6]) tensor([ 0., 1., 2., 3., 4., 5.]) x = x.view(2, ...
確定! 回上一頁