2 writes to _numLeaf
Microsoft.ML.StandardTrainers (2)
LdSvm\LdSvmModelParameters.cs (2)
75_numLeaf = numLeaf; 106_numLeaf = ctx.Reader.ReadInt32();
26 references to _numLeaf
Microsoft.ML.StandardTrainers (26)
LdSvm\LdSvmModelParameters.cs (26)
107Host.CheckDecode(_numLeaf > 1 && (_numLeaf & (_numLeaf - 1)) == 0); 113_w = LoadVBufferArray(ctx, _numLeaf * 2 - 1, numFeatures); 114_thetaPrime = LoadVBufferArray(ctx, _numLeaf * 2 - 1, numFeatures); 115_theta = LoadVBufferArray(ctx, _numLeaf - 1, numFeatures); 116_biasW = ctx.Reader.ReadFloatArray(_numLeaf * 2 - 1); 117_biasTheta = ctx.Reader.ReadFloatArray(_numLeaf - 1); 118_biasThetaPrime = ctx.Reader.ReadFloatArray(_numLeaf * 2 - 1); 128Host.Assert(_numLeaf > 1 && (_numLeaf & (_numLeaf - 1)) == 0); // Check if _numLeaf is power of 2 129Host.Assert(_w.Length == _numLeaf * 2 - 1); 132Host.Assert(_thetaPrime.Length == _numLeaf * 2 - 1); 135Host.Assert(_theta.Length == _numLeaf - 1); 138Host.Assert(_biasW.Length == _numLeaf * 2 - 1); 139Host.Assert(_biasTheta.Length == _numLeaf - 1); 140Host.Assert(_biasThetaPrime.Length == _numLeaf * 2 - 1); 182ctx.Writer.Write(_numLeaf); 186Host.Assert(_w.Length == _numLeaf * 2 - 1); 188Host.Assert(_thetaPrime.Length == _numLeaf * 2 - 1); 190Host.Assert(_theta.Length == _numLeaf - 1); 193Host.Assert(_biasW.Length == _numLeaf * 2 - 1); 195Host.Assert(_biasTheta.Length == _numLeaf - 1); 197Host.Assert(_biasThetaPrime.Length == _numLeaf * 2 - 1); 252while (current < _numLeaf - 1)