# cupy.flipud¶

cupy.flipud(a)[source]

Flip array in the up/down direction.

Flip the entries in each column in the up/down direction. Rows are preserved, but appear in a different order than before.

Parameters

a (ndarray) – Input array.

Returns

Output array.

Return type

ndarray