3 writes to _weights
Microsoft.ML.StandardTrainers (3)
Standard\ModelStatistics.cs (3)
254
_weights
= weights;
300
_weights
= new VBuffer<float>(weightsLength, weightsValues);
305
_weights
= new VBuffer<float>(weightsLength, weightsLength, stdErrorValues, weightsIndices);
11 references to _weights
Microsoft.ML.StandardTrainers (11)
Standard\ModelStatistics.cs (11)
330
ctx.Writer.WriteBoolByte(
_weights
.IsDense);
331
ctx.Writer.Write(
_weights
.Length);
332
ctx.Writer.WriteSinglesNoCount(
_weights
.GetValues());
333
if (!
_weights
.IsDense)
360
Contracts.Assert(_coeffStdError.Length ==
_weights
.Length + 1);
377
Contracts.Assert(0 <= wi && wi <
_weights
.Length);
378
var weight = estimateEditor.Values[i - 1] =
_weights
.GetItemOrDefault(wi);
408
Env.Assert(_coeffStdError.Length ==
_weights
.Length + 1);
420
Env.Assert(0 <= wi && wi <
_weights
.Length);
421
var weight =
_weights
.GetItemOrDefault(wi);
445
Env.Assert(0 <= wi && wi <
_weights
.Length);