Swapdims ======== Interchange two dimensions of a tensor (Alias for Swapaxes). **Abstract Signature:** ``Swapdims(input: Tensor, dim0: int, dim1: int)`` .. raw:: html

PyTorch

API: torch.swapdims
Strategy: Direct Mapping

JAX (Core)

API: jax.numpy.swapaxes
Strategy: Direct Mapping

NumPy

API: numpy.swapaxes
Strategy: Direct Mapping

Keras

API: keras.ops.swapaxes
Strategy: Direct Mapping

TensorFlow

API: tf.experimental.numpy.swapaxes
Strategy: Direct Mapping

Apple MLX

API: mlx.core.swapaxes
Strategy: Direct Mapping