ndarray.swapaxes

ndarray.swapaxes(self, axis1, axis2)

Return a copy of the array with axis1 and axis2 interchanged. Refer to mxnet.numpy.swapaxes for full documentation.