3 writes to Gain
Microsoft.ML.StandardTrainers (3)
Standard\Online\AveragedLinear.cs (3)
176
Gain
= 1;
292
Gain
= (_args.RecencyGainMultiplicative ? Gain * _args.RecencyGain : Gain + _args.RecencyGain);
298
Gain
*= scale;
6 references to Gain
Microsoft.ML.StandardTrainers (6)
Standard\Online\AveragedLinear.cs (6)
289
VectorUtils.AddMult(in Weights,
Gain
* WeightsScale, ref TotalWeights);
290
TotalBias +=
Gain
* Bias;
291
NumWeightUpdates +=
Gain
;
292
Gain = (_args.RecencyGainMultiplicative ?
Gain
* _args.RecencyGain :
Gain
+ _args.RecencyGain);
295
if (
Gain
> 1000)