Tutorials
Examples
References
Other
Community
chainerx.
swapaxes
Interchange two axes of an array.
a (ndarray) – Array to swapaxes.
axis1 (int) – First Axis
axis2 (int) – Second Axis
Swaped array.
ndarray
Note
Output array is a view of the input array.
During backpropagation, this function propagates the gradients of the output arrays to the input array a.
a
See also
numpy.swapaxes()