4 writes to _steepestDescDir
Microsoft.ML.StandardTrainers (4)
Optimizer\L1Optimizer.cs (2)
132VBufferUtils.ApplyInto(in _x, in _grad, ref _steepestDescDir, 150VBufferUtils.ApplyInto(in _x, in _grad, ref _steepestDescDir,
Optimizer\Optimizer.cs (2)
218_steepestDescDir = CreateWorkingVector(); 307VBufferUtils.ApplyInto(in _x, in _grad, ref _steepestDescDir,
11 references to _steepestDescDir
Microsoft.ML.StandardTrainers (11)
Optimizer\L1Optimizer.cs (9)
161_steepestDescDir.CopyTo(ref _dir); 199float dirDeriv = -VectorUtils.DotProduct(in _dir, in _steepestDescDir); 211float unnormCos = VectorUtils.DotProduct(in _steepestDescDir, in _newX) - VectorUtils.DotProduct(in _steepestDescDir, in _x); 214VBufferUtils.ApplyWith(in _steepestDescDir, ref _dir, 222unnormCos = VectorUtils.DotProduct(in _steepestDescDir, in _newX) - VectorUtils.DotProduct(in _steepestDescDir, in _x); 242unnormCos = VectorUtils.DotProduct(in _steepestDescDir, in _newX) - VectorUtils.DotProduct(in _steepestDescDir, in _x);
Optimizer\Optimizer.cs (2)
295VBufferUtils.ApplyWithEitherDefined(in _steepestDescDir, ref _dir, 315_steepestDescDir.CopyTo(ref _dir);