pytorch transpose与permute函数pemute可以对高维,2阶或以上矩阵进行重排列,或者说转置,而transpose只能对两个维度进行调换b = torch.tensor([[[1,4],[2,5]],[[3,7],[4,6] ...
確定! 回上一頁