mindspore.Tensor.reverse

View Source On Gitee
Tensor.reverse(axis)[source]

For details, please refer to mindspore.ops.flip(). The axis parameter in Tensor.reverse is equivalent to the dims parameter in mindspore.ops.flip().