1 write to _tempGrads
Microsoft.ML.StandardTrainers (1)
Optimizer\DifferentiableFunction.cs (1)
70
_tempGrads
= new VBuffer<float>[threads];
6 references to _tempGrads
Microsoft.ML.StandardTrainers (6)
Optimizer\DifferentiableFunction.cs (6)
98
VectorUtils.ScaleBy(ref
_tempGrads
[chunkIndex], 0);
105
if (
_tempGrads
[chunkIndex].Length == 0)
106
tempGrad.CopyTo(ref
_tempGrads
[chunkIndex]);
108
VectorUtils.Add(in tempGrad, ref
_tempGrads
[chunkIndex]);
136
_tempGrads
[c].CopyTo(ref gradient);
138
VectorUtils.Add(in
_tempGrads
[c], ref gradient);