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)
98VectorUtils.ScaleBy(ref _tempGrads[chunkIndex], 0); 105if (_tempGrads[chunkIndex].Length == 0) 106tempGrad.CopyTo(ref _tempGrads[chunkIndex]); 108VectorUtils.Add(in tempGrad, ref _tempGrads[chunkIndex]); 136_tempGrads[c].CopyTo(ref gradient); 138VectorUtils.Add(in _tempGrads[c], ref gradient);