3 references to ShouldTerminate
Microsoft.ML.StandardTrainers (3)
Optimizer\SgdOptimizer.cs (3)
215
if ((n > 0 && TerminateTester.
ShouldTerminate
(in avg, in prev)) || _terminate(in avg))
225
if ((n > 0 && TerminateTester.
ShouldTerminate
(in x, in prev)) || _terminate(in x))
374
bool terminateNow = n > 0 && TerminateTester.
ShouldTerminate
(in newPoint, in prev);