3 writes to _numInputFeatures
Microsoft.ML.FastTree (3)
12 references to _numInputFeatures
Microsoft.ML.FastTree (12)
GamModelParameters.cs (12)
102if (_numInputFeatures == -1)
107Host.CheckParam(0 <= _shapeToInputMap[i] && _shapeToInputMap[i] < _numInputFeatures, nameof(_shapeToInputMap), "Contains out of range feature value");
112_inputType = new VectorDataViewType(NumberDataViewType.Single, _numInputFeatures);
126Host.CheckDecode(_numInputFeatures >= 0);
153Host.CheckDecode(0 <= key && key < _numInputFeatures);
162_inputType = new VectorDataViewType(NumberDataViewType.Single, _numInputFeatures);
172ctx.Writer.Write(_numInputFeatures);
173Host.Assert(_numInputFeatures >= 0);
204Host.CheckParam(features.Length == _numInputFeatures, nameof(features), "Bad length of input");
235Host.CheckParam(features.Length == _numInputFeatures, nameof(features));
373AnnotationUtils.GetSlotNames(schema, RoleMappedSchema.ColumnRole.Feature, _numInputFeatures, ref names);
636ch.Check(len == _pred._numInputFeatures);