mindspore.ops.Transpose

class mindspore.ops.Transpose[source]
prim = ops.Transpose()
out = prim(input, input_perm)

is equivalent to

ops.transpose(input, input_perm)

Refer to mindspore.ops.transpose() for more details.