Hypot ===== Given the legs of a right triangle, return its hypotenuse. **Abstract Signature:** ``Hypot(input: Tensor, other: Tensor)`` .. raw:: html

PyTorch

API: torch.hypot
Strategy: Direct Mapping

JAX (Core)

API: jax.numpy.hypot
Strategy: Direct Mapping

NumPy

API: numpy.hypot
Strategy: Direct Mapping

Keras

API: keras.ops.sqrt
Strategy: Macro 'keras.ops.sqrt(keras.ops.square({input}) + keras.ops.square({other}))'

TensorFlow

API: tf.math.hypot
Strategy: Macro 'tf.math.sqrt(tf.math.square({x1}) + tf.math.square({x2}))'

Apple MLX

API:
Strategy: Macro 'mlx.core.sqrt(mlx.core.square({x1}) + mlx.core.square({x2}))'

Flax NNX

API: jax.numpy.hypot
Strategy: Direct Mapping

PaxML / Praxis

API: jax.numpy.hypot
Strategy: Direct Mapping