torch_npu.npu_transpose

torch_npu.npu_transpose(self, perm, require_contiguous=True) -> Tensor

返回原始张量视图,其维度已permute,结果连续。