tf.keras.ops.logaddexp

Logarithm of the sum of exponentiations of the inputs.

Main aliases

tf.keras.ops.numpy.logaddexp

Calculates log(exp(x1) + exp(x2)).

x1 Input tensor.
x2 Input tensor.

Output tensor, element-wise logarithm of the sum of exponentiations of the inputs.