mlx.core.array.swapaxes# array.swapaxes(self, axis1: int, axis2: int, *, stream: Optional[Union[Stream, Device]] = None) → array# See swapaxes().