HypotΒΆ
Given the legs of a right triangle, return its hypotenuse.
Abstract Signature:
Hypot(input: Tensor, other: Tensor)
Keras
API:
keras.ops.sqrtStrategy: Macro 'keras.ops.sqrt(keras.ops.square({input}) + keras.ops.square({other}))'
TensorFlow
API:
tf.math.hypotStrategy: 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}))'