2 writes to _totalLeafCount
Microsoft.ML.FastTree (2)
TreeEnsembleFeaturizer.cs (2)
420_totalLeafCount = CountLeaves(_ensemble); 437_totalLeafCount = CountLeaves(_ensemble);
6 references to _totalLeafCount
Microsoft.ML.FastTree (6)
TreeEnsembleFeaturizer.cs (6)
121var leafIdType = new VectorDataViewType(NumberDataViewType.Single, owner._totalLeafCount); 129var pathIdType = new VectorDataViewType(NumberDataViewType.Single, owner._totalLeafCount - owner._ensemble.TrainedEnsemble.NumTrees); 189var state = new State(_ectx, input, _owner._ensemble, _owner._totalLeafCount, FeatureColumn.Index); 489var editor = VBufferEditor.Create(ref dst, _totalLeafCount); 498_host.Assert(i == _totalLeafCount); 506var totalNodeCount = _totalLeafCount - numTrees;