4 writes to _weightsUpdate
Microsoft.ML.StandardTrainers (4)
Standard\Online\LinearSvm.cs (4)
150
_weightsUpdate
= VBufferUtils.CreateEmpty<float>(numFeatures);
165
VBufferUtils.Resize(ref
_weightsUpdate
, _weightsUpdate.Length, 0);
195
VectorUtils.ScaleInto(in feat, currentBiasUpdate, ref
_weightsUpdate
);
199
VectorUtils.AddMult(in feat, currentBiasUpdate, ref
_weightsUpdate
);
4 references to _weightsUpdate
Microsoft.ML.StandardTrainers (4)
Standard\Online\LinearSvm.cs (4)
165
VBufferUtils.Resize(ref _weightsUpdate,
_weightsUpdate
.Length, 0);
193
if (
_weightsUpdate
.GetValues().Length == 0)
206
Contracts.Assert(
_weightsUpdate
.GetValues().Length == 0);
214
FinishBatch(in
_weightsUpdate
, _weightsUpdateScale);