tensor.permute(dim1, dim2, dim3, …)permute可以对任意高维矩阵进行转置.但只有tensor.permute() 这个调用方式x = torch.rand(2,3,4)print("x.shape:", ...
確定! 回上一頁