chainerx.swapaxes¶
- chainerx.swapaxes(a, axis1, axis2)¶
Interchange two axes of an array.
- Parameters
- Returns
Swaped array.
- Return type
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
.
See also