mindspore.ops.ReverseV2

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

is equivalent to

ops.flip(input, axis)

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