dpnp.ndarray.swapaxes¶ method ndarray.swapaxes(axis1, axis2)¶ Interchange two axes of an array. Refer to dpnp.swapaxes for full documentation.