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)
330ctx.Writer.WriteBoolByte(_weights.IsDense); 331ctx.Writer.Write(_weights.Length); 332ctx.Writer.WriteSinglesNoCount(_weights.GetValues()); 333if (!_weights.IsDense) 360Contracts.Assert(_coeffStdError.Length == _weights.Length + 1); 377Contracts.Assert(0 <= wi && wi < _weights.Length); 378var weight = estimateEditor.Values[i - 1] = _weights.GetItemOrDefault(wi); 408Env.Assert(_coeffStdError.Length == _weights.Length + 1); 420Env.Assert(0 <= wi && wi < _weights.Length); 421var weight = _weights.GetItemOrDefault(wi); 445Env.Assert(0 <= wi && wi < _weights.Length);