MaxΒΆ

Returns the maximum value of all elements in the input tensor, or values and indices along dim.

Abstract Signature:

Max(input: Tensor, dim: int, keepdim: bool = False)

PyTorch

API: torch.max
Strategy: Direct Mapping

JAX (Core)

API: jax.numpy.max
Strategy: Plugin (topk_adapter)

NumPy

API: numpy.max
Strategy: Direct Mapping

Keras

API: keras.ops.max
Strategy: Direct Mapping

TensorFlow

API: tf.reduce_max
Strategy: Direct Mapping

Apple MLX

API: mlx.core.max
Strategy: Direct Mapping

AMD RDNA

API: v_max_f32
Strategy: Direct Mapping

Flax NNX

API: jnp.max
Strategy: Direct Mapping

PaxML / Praxis

API: jnp.max
Strategy: Direct Mapping