cupy.rollaxis¶
-
cupy.rollaxis(a, axis, start=0)[source]¶ Moves the specified axis backwards to the given place.
Parameters: - a (cupy.ndarray) – Array to move the axis.
- axis (int) – The axis to move.
- start (int) – The place to which the axis is moved.
Returns: A view of
athat the axis is moved tostart.Return type: See also