MsortΒΆ

Sorts the elements of the input tensor along its first dimension in ascending order.

Abstract Signature:

Msort(input: Tensor)

PyTorch

API: torch.msort
Strategy: Direct Mapping

JAX (Core)

API: jax.numpy.sort
Strategy: Direct Mapping

NumPy

API: numpy.msort
Strategy: Direct Mapping

Apple MLX

API: mlx.core.sort
Strategy: Direct Mapping