9 writes to _newX
Microsoft.ML.StandardTrainers (9)
Optimizer\L1Optimizer.cs (3)
166VectorUtils.AddMultInto(in _x, alpha, in _dir, ref _newX); 170VBufferUtils.ApplyWith(in _x, ref _newX, 179VBufferUtils.Apply(ref _newX, delegate (int ind, ref float newXval)
Optimizer\Optimizer.cs (6)
216_newX = CreateWorkingVector(); 370Utils.Swap(ref _x, ref _newX); 404VectorUtils.AddMultInto(in _x, alpha, in _dir, ref _newX); 407VBufferUtils.Apply(ref _newX, delegate (int ind, ref float newXval) 485VectorUtils.AddMultInto(in _x, alpha, in _dir, ref _newX); 488VBufferUtils.Apply(ref _newX, delegate (int ind, ref float newXval)
8 references to _newX
Microsoft.ML.StandardTrainers (8)
Optimizer\L1Optimizer.cs (4)
211float unnormCos = VectorUtils.DotProduct(in _steepestDescDir, in _newX) - VectorUtils.DotProduct(in _steepestDescDir, in _x); 222unnormCos = VectorUtils.DotProduct(in _steepestDescDir, in _newX) - VectorUtils.DotProduct(in _steepestDescDir, in _x); 228Value = Eval(in _newX, ref _newGrad); 242unnormCos = VectorUtils.DotProduct(in _steepestDescDir, in _newX) - VectorUtils.DotProduct(in _steepestDescDir, in _x);
Optimizer\Optimizer.cs (4)
148public VBuffer<float> X { get { return _newX; } } 357VectorUtils.AddMultInto(in _newX, -1, in _x, ref nextS); 414Value = Eval(in _newX, ref _newGrad); 495Value = Eval(in _newX, ref _newGrad);