cupy.random
Development
Misc Notes
cupy.
swapaxes
Swaps the two axes.
a (cupy.ndarray) – Array to swap the axes.
axis1 (int) – The first axis to swap.
axis2 (int) – The second axis to swap.
A view of a that the two axes are swapped.
a
cupy.ndarray
See also
numpy.swapaxes()