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