2 writes to _w
Microsoft.ML.StandardTrainers (2)
LdSvm\LdSvmModelParameters.cs (2)
77_w = w; 113_w = LoadVBufferArray(ctx, _numLeaf * 2 - 1, numFeatures);
14 references to _w
Microsoft.ML.StandardTrainers (14)
LdSvm\LdSvmModelParameters.cs (14)
84InputType = new VectorDataViewType(NumberDataViewType.Single, _w[0].Length); 129Host.Assert(_w.Length == _numLeaf * 2 - 1); 130Host.Assert(_w.All(v => v.IsDense)); 131Host.Assert(_w.All(v => v.Length == _w[0].Length)); 141Host.Assert((_w[0].Length > 0) && (_w[0].Length == _thetaPrime[0].Length) && (_w[0].Length == _theta[0].Length)); // numFeatures 142Host.Assert(InputType != null && InputType.GetVectorSize() == _w[0].Length); 180int numFeatures = _w[0].Length; 186Host.Assert(_w.Length == _numLeaf * 2 - 1); 187SaveVBufferArray(ctx, _w); 255(VectorUtils.DotProduct(in _w[current], in src) + _biasW[current]); 260(VectorUtils.DotProduct(in _w[current], in src) + _biasW[current]);