mindspore.ops.ReverseV2

class mindspore.ops.ReverseV2(axis)[source]
prim = ops.ReverseV2(axis)
out = prim(x)

is equivalent to

ops.reverse(x, axis)

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