Attend the Women in ML Symposium on December 7 Register now

tfp.substrates.numpy.math.log_add_exp

Stay organized with collections Save and categorize content based on your preferences.

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

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').

log_add_exp log(exp(x) + exp(y)) computed in a numerically stable way.