<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/probability/blob/v0.25.0/tensorflow_probability/python/math/generic.py#L585-L611) |

Computes `log(exp(x) + exp(y))` in a numerically stable way.

    tfp.math.log_add_exp(
        x, y, name=None
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `x` | `float` `Tensor` broadcastable with `y`. |
| `y` | `float` `Tensor` broadcastable with `x`. |
| `name` | Python `str` name prefixed to Ops created by this function. Default value: `None` (i.e., `'log_add_exp'`). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| `log_add_exp` | `log(exp(x) + exp(y))` computed in a numerically stable way. |

<br />