mindspore.ops.Transpose

class mindspore.ops.Transpose[源代码]
prim = ops.Transpose()
out = prim(input, input_perm)

等价于

ops.transpose(input, input_perm)

更多详情请查看: mindspore.ops.transpose()