10 references to Deriv
Microsoft.ML.StandardTrainers (10)
Optimizer\LineSearch.cs (10)
101
float t1 = a.
Deriv
+ b.
Deriv
- 3 * (a.Value - b.Value) / (a.Step - b.Step);
102
float t2 = Math.Sign(b.Step - a.Step) * MathUtils.Sqrt(t1 * t1 - a.
Deriv
* b.
Deriv
);
103
float num = b.
Deriv
+ t2 - t1;
104
float denom = b.
Deriv
- a.
Deriv
+ 2 * t2;
174
while (hi.
Deriv
< 0)
202
if (mid.
Deriv
== 0 || mid.Step == lo.Step || mid.Step == hi.Step)
205
if (mid.
Deriv
< 0)