1 write to _args
Microsoft.ML.StandardTrainers (1)
Standard\Online\AveragedLinear.cs (1)
173
_args
= parent.AveragedLinearTrainerOptions;
14 references to _args
Microsoft.ML.StandardTrainers (14)
Standard\Online\AveragedLinear.cs (14)
196
if (
_args
.LazyUpdate && NumNoUpdates > 0)
208
if (
_args
.ResetWeightsAfterXExamples == 0)
231
if (loss != 0 ||
_args
.L2Regularization > 0)
234
if (
_args
.LazyUpdate &&
_args
.Averaged && NumNoUpdates > 0 && TotalMultipliers *
_args
.AveragedTolerance <= PendingMultipliers)
245
float rate =
_args
.LearningRate;
246
if (
_args
.DecreaseLearningRate)
252
WeightsScale *= 1 - 2 *
_args
.L2Regularization; // L2 regularization.
261
if (!
_args
.LazyUpdate)
282
if (
_args
.RecencyGain == 0)
292
Gain = (
_args
.RecencyGainMultiplicative ? Gain *
_args
.RecencyGain : Gain +
_args
.RecencyGain);