1、主要作用:变换tensor维度example:[cc]import torchx = torch.randn(2, 3, 5)print(x.size())print(x.permute(2, 0, 1).size())>>>torch.
確定! 回上一頁