lppl
v2.0.0
|
double logsumexp_streaming | ( | double & | _alpha, |
double & | _r, | ||
const double & | weight | ||
) |
streaming logsumexp computation, see https://arxiv.org/abs/1805.02867
_alpha | running maximum for normalization |
_r | the sum term while controlling for the maximum |
weight | the most recent (log) weight |