Reverses the order of elements along specified axes.
Arguments
- x
(
arrayish)
One input. Can be any data type. An R value materializes at its default data type.- axes
(
integer())
Axes to reverse. Negative values count from the end, i.e.-1refers to the last axis.
Value
(arrayish)
Has the input's data type and shape.
StableHLO
Lowers to hlo_reverse(), specified under
reverse.