2 writes to Iter
Microsoft.ML.StandardTrainers (2)
Optimizer\Optimizer.cs (2)
203
Iter
= 1;
373
Iter
++;
8 references to Iter
Microsoft.ML.StandardTrainers (8)
Optimizer\L1Optimizer.cs (1)
209
float alpha = (
Iter
== 1 ? (1 / VectorUtils.Norm(_dir)) : 1);
Optimizer\OptimizationMonitor.cs (4)
77
if (terminate || state.
Iter
% _gradCheckInterval == 1)
172
float crit = _unnormMeanImprovement * (1 - _lambda) / (1 - MathUtils.Pow(_lambda, state.
Iter
));
174
return (crit < _tol || state.
Iter
>= _maxIterations);
254
return (val < _tol || state.
Iter
>= _maxIterations);
Optimizer\Optimizer.cs (3)
395
float alpha = (
Iter
== 1 ? (1 / VectorUtils.Norm(_dir)) : 1);
618
e.SetProgress(0, (double)(state.
Iter
- 1));
651
pch.Checkpoint(state.Value, improvement, state.
Iter
);