3 writes to Step
Microsoft.ML.StandardTrainers (3)
Optimizer\LineSearch.cs (3)
120Step = initStep; 179hi.Step = lo.Step * 2; 200mid.Step = interp;
22 references to Step
Microsoft.ML.StandardTrainers (22)
Optimizer\LineSearch.cs (22)
101float t1 = a.Deriv + b.Deriv - 3 * (a.Value - b.Value) / (a.Step - b.Step); 102float t2 = Math.Sign(b.Step - a.Step) * MathUtils.Sqrt(t1 * t1 - a.Deriv * b.Deriv); 105return b.Step - (b.Step - a.Step) * num / denom; 177if (lo.Step >= MaxStep) 179hi.Step = lo.Step * 2; 192float minProgressStep = _minProgress * (hi.Step - lo.Step); 193float maxMid = hi.Step - minProgressStep; 196float minMid = lo.Step + minProgressStep; 202if (mid.Deriv == 0 || mid.Step == lo.Step || mid.Step == hi.Step) 203return mid.Step; 210if (lo.Step >= MaxStep) 213window = (hi.Step - lo.Step) / hi.Step;