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