Apply exponential moving average update. The weights are updated in-place as follow: w_ema = w_ema * decay + (1 - decay) * w Args: model: active model that is being optimized model_ema: running average model decay: exponential decay parameter
(model, model_ema, decay)
source not stored for this graph (policy: none)