!pip install numpy torch==1.7.0+cpu torchvision==0.8.1+cpu ... 我们将使用的第一个函数是“反函数”。a = torch.randn(2,3,3) ... torch.transpose(a,1,2).
確定! 回上一頁