ManipulationNDArray::swapaxesOn this pageNDArray::swapaxespublic static function swapaxes(NDArray|array|float|int $a, int $axis1, int $axis2): NDArray;Interchange two axes of an array.NotestipGPU SUPPORTEDThis operation is supported by GPU (VRAM).