<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/keras-team/keras/tree/v3.15.1/keras/src/ops/numpy.py#L4833-L4849) |

Logarithm of the sum of exponentiations of the inputs.

#### View aliases


**Main aliases**

[`tf.keras.ops.numpy.logaddexp`](https://www.tensorflow.org/api_docs/python/tf/keras/ops/logaddexp)

<br />

    tf.keras.ops.logaddexp(
        x1, x2
    )

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

<br />

<br />

<br />

| ## Args ||
|---|---|
| `x1` | Input tensor. |
| `x2` | Input tensor. |

<br />

<br />

<br />

<br />

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

<br />