1 write to _localGradients
Microsoft.ML.StandardTrainers (1)
Standard\LogisticRegression\LbfgsPredictorBase.cs (1)
676
_localGradients
= new VBuffer<float>[numThreads - 1];
5 references to _localGradients
Microsoft.ML.StandardTrainers (5)
Standard\LogisticRegression\LbfgsPredictorBase.cs (5)
678
for (int i = 0; i <
_localGradients
.Length; i++)
679
_localGradients
[i] = VBufferUtils.CreateEmpty<float>(size);
809
Contracts.Assert(Utils.Size(
_localGradients
) + 1 == _numChunks);
822
_localLosses[ichk] = DifferentiableFunctionComputeChunk(ichk, in xx, ref
_localGradients
[ichk - 1], null);
828
VectorUtils.Add(in
_localGradients
[i - 1], ref gradient);