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