# cupy.flip¶

cupy.flip(a, axis)[source]

Reverse the order of elements in an array along the given axis.

Note that flip function has been introduced since NumPy v1.12. The contents of this document is the same as the original one.

Parameters: a (ndarray) – Input array. axis (int) – Axis in array, which entries are reversed. Output array. ndarray