Permute can transpose any high-dimensional matrix. But only tensor.permute() is called. x = torch.rand(2,3,4) print("x.shape:", x.shape) x = x.permute(2,1 ...
確定! 回上一頁