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