5 writes to _newGrad
Microsoft.ML.StandardTrainers (5)
Optimizer\L1Optimizer.cs (1)
228
Value = Eval(in _newX, ref
_newGrad
);
Optimizer\Optimizer.cs (4)
217
_newGrad
= CreateWorkingVector();
371
Utils.Swap(ref _grad, ref
_newGrad
);
414
Value = Eval(in _newX, ref
_newGrad
);
495
Value = Eval(in _newX, ref
_newGrad
);
4 references to _newGrad
Microsoft.ML.StandardTrainers (4)
Optimizer\Optimizer.cs (4)
153
public VBuffer<float> Grad { get { return
_newGrad
; } }
358
VectorUtils.AddMultInto(in
_newGrad
, -1, in _grad, ref nextY);
425
dirDeriv = VectorUtils.DotProduct(in _dir, in
_newGrad
);
499
dirDeriv = VectorUtils.DotProduct(in _dir, in
_newGrad
);