lppl
v2.0.0
|
Computes a streaming log-sum-exp. More...
#include "query.hpp"
Public Member Functions | |
void | clear () |
double | emit () |
void | update (record_t< DTypes< Ts... >> &r, O output, double weight, inf_options_t opts) |
Public Member Functions inherited from Queryer< LogSumExpQ, double, O, Ts... > | |
double | emit () |
Emits the result of the query. | |
void | update (record_t< DTypes< Ts... >> &r, O output, double weight, inf_options_t opts) |
Updates the state of the queryer. More... | |
Public Attributes | |
double | _alpha |
double | _lse_weights |
double | _r |
Friends | |
double | logsumexp_streaming (double &_alpha, double &_r, const double &weight) |
streaming logsumexp computation, see https://arxiv.org/abs/1805.02867 More... | |
Computes a streaming log-sum-exp.
V | |
O | |
Ts |