6 writes to Step
Microsoft.ML.StandardTrainers (6)
Optimizer\LineSearch.cs (6)
298
Step
= initStep;
349
lo.
Step
= left.Step / _phi;
354
hi.
Step
= _step * _phi;
360
hi.
Step
= left.Step * _phi;
378
left.
Step
= hi.Step - (hi.Step - lo.Step) / _phi;
385
right.
Step
= lo.Step + (hi.Step - lo.Step) / _phi;
20 references to Step
Microsoft.ML.StandardTrainers (20)
Optimizer\LineSearch.cs (20)
349
lo.Step = left.
Step
/ _phi;
358
if (lo.
Step
>= MaxStep)
360
hi.Step = left.
Step
* _phi;
368
return left.
Step
;
370
StepAndValue right = new StepAndValue(func, lo.
Step
+ (hi.
Step
- lo.
Step
) / _phi);
374
return left.
Step
;
378
left.Step = hi.
Step
- (hi.
Step
- lo.
Step
) / _phi;
383
if (lo.
Step
>= MaxStep)
385
right.Step = lo.
Step
+ (hi.
Step
- lo.
Step
) / _phi;
389
window = (hi.
Step
- lo.
Step
) / hi.
Step
;
393
return left.
Step
;
395
return right.
Step
;