4 writes to _dir
Microsoft.ML.StandardTrainers (4)
Optimizer\SgdOptimizer.cs (4)
324VectorUtils.ScaleInto(in _grad, -1, ref _dir); 346VectorUtils.ScaleBy(ref _dir, beta); 347VectorUtils.AddMult(in _newGrad, -1, ref _dir); 350VectorUtils.ScaleInto(in _newGrad, -1, ref _dir);
3 references to _dir
Microsoft.ML.StandardTrainers (3)
Optimizer\SgdOptimizer.cs (3)
314public float Deriv => VectorUtils.DotProduct(in _dir, in _grad); 331VectorUtils.AddMultInto(in _point, step, in _dir, ref _newPoint); 333deriv = VectorUtils.DotProduct(in _dir, in _newGrad);