Class ExponentialSmoothing

Inheritance Relationships

Derived Type

Class Documentation

class ExponentialSmoothing

Class implementing exponential smoothing for graph groups.

The smoothed parameters themselves are not stored in here.

Subclassed by marian::OptimizerBase

Public Functions

ExponentialSmoothing(Ptr<Options> options)

Protected Functions

void updateAvgParams(Tensor paramsAvg, Tensor params, size_t batches, size_t actualBatchTrgWords)

Protected Attributes

bool mvAvg_ = {false}
float mvDecayBy_ = {1e-4f}
size_t refBatchTrgWords_ = {0}