7 references to Apply
Microsoft.ML.Core.Tests (1)
UnitTests\TestVBuffer.cs (1)
58VBufferUtils.Apply(ref dst, (int i, ref float v) => v *= c);
Microsoft.ML.StandardTrainers (4)
Optimizer\L1Optimizer.cs (2)
51VBufferUtils.Apply(ref initial, delegate (int ind, ref float initialVal) 179VBufferUtils.Apply(ref _newX, delegate (int ind, ref float newXval)
Optimizer\Optimizer.cs (2)
407VBufferUtils.Apply(ref _newX, delegate (int ind, ref float newXval) 488VBufferUtils.Apply(ref _newX, delegate (int ind, ref float newXval)
Microsoft.ML.Transforms (2)
Text\NgramTransform.cs (2)
698VBufferUtils.Apply(ref dst, (int i, ref float v) => v = (float)(v * _parent._invDocFreqs[iinfo][i])); 715VBufferUtils.Apply(ref dst, (int i, ref float v) => v = v >= 1 ? (float)_parent._invDocFreqs[iinfo][i] : 0);