1 write to _pastValues
Microsoft.ML.StandardTrainers (1)
Optimizer\OptimizationMonitor.cs (1)
227
_pastValues
= new Queue<float>(n);
5 references to _pastValues
Microsoft.ML.StandardTrainers (5)
Optimizer\OptimizationMonitor.cs (5)
243
if (
_pastValues
.Count < _n)
245
_pastValues
.Enqueue(value);
250
float avgImprovement = (
_pastValues
.Dequeue() - value) / _n;
251
_pastValues
.Enqueue(value);
271
_pastValues
.Clear();