2 writes to LastValue
Microsoft.ML.StandardTrainers (2)
Optimizer\Optimizer.cs (2)
241
Value =
LastValue
= Eval(in _x, ref _grad);
368
LastValue
= Value;
8 references to LastValue
Microsoft.ML.StandardTrainers (8)
Optimizer\L1Optimizer.cs (1)
231
if (Value <=
LastValue
- Gamma * unnormCos)
Optimizer\OptimizationMonitor.cs (1)
170
_unnormMeanImprovement = (state.
LastValue
- state.Value) + _lambda * _unnormMeanImprovement;
Optimizer\Optimizer.cs (6)
243
if (!FloatUtils.IsFinite(
LastValue
))
244
throw Ch.Except("Optimizer unable to proceed with loss function yielding {0}",
LastValue
);
367
var temp =
LastValue
;
397
PointValueDeriv last = new PointValueDeriv(0,
LastValue
, dirDeriv);
428
if ((curr.V >
LastValue
+ c1 * alpha) || (last.A > 0 && curr.V >= last.V))
503
if ((curr.V >
LastValue
+ c1 * alpha) || (curr.V >= aLo.V))