torchTensor.transpose() & Tensor.permute(). transpose 只能操作矩阵的两个维度。只接受两个维度参数。若要对多个维度进行操作,使用permute 更加灵活方便。
確定! 回上一頁