LogAddExpΒΆ

Logarithm of the sum of exponentiations of the inputs.

Abstract Signature:

LogAddExp(input: Tensor, other: Tensor)

PyTorch

API: torch.logaddexp
Strategy: Direct Mapping

JAX (Core)

API: jax.numpy.logaddexp
Strategy: Direct Mapping

NumPy

API: numpy.logaddexp
Strategy: Direct Mapping

Keras

API: keras.ops.logaddexp
Strategy: Direct Mapping

TensorFlow

API: tf.math.reduce_logsumexp
Strategy: Macro 'tf.math.log(tf.math.add(tf.math.exp({input}), tf.math.exp({other})))'

Apple MLX

API: mlx.core.logaddexp
Strategy: Direct Mapping

Flax NNX

API: jax.numpy.logaddexp
Strategy: Direct Mapping

PaxML / Praxis

API: jax.numpy.logaddexp
Strategy: Direct Mapping