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