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