13 references to NumBitsNeeded
Microsoft.ML.FastTree (13)
Dataset\DatasetUtils.cs (1)
54skel.NumDocs, IntArrayType.Dense, IntArray.NumBitsNeeded(uvalToOrder.Count),
Dataset\Feature.cs (3)
298bitsPerItem = IntArray.NumBitsNeeded(parts[0].ValueMap.Length); 307bitsPerItem = IntArray.NumBitsNeeded(concatValueMap.Length); 333IntArrayBits bitsPerItem = IntArray.NumBitsNeeded(concatValueMap.Length);
Dataset\IntArray.cs (1)
323IntArrayBits classicBits = IntArray.NumBitsNeeded(maxval + 1);
FastTree.cs (7)
1050IntArrayBits flockBits = IntArray.NumBitsNeeded(hotFeatureStarts[hotFeatureStarts.Length - 1] + 1); 1126IntArrayBits flockBits = IntArray.NumBitsNeeded(hotFeatureStarts[hotFeatureStarts.Length - 1] + 1); 1207var numBitsNeeded = IntArray.NumBitsNeeded(binUpperBounds.Length); 1254bins = IntArray.New(values.Length, arrayType, IntArray.NumBitsNeeded(binUpperBounds.Length), binnedValues); 1953IntArrayBits flockBits = IntArray.NumBitsNeeded(hotFeatureStarts[hotFeatureStarts.Length - 1] + 1); 2257IntArrayBits newBits = IntArray.NumBitsNeeded(countBins); 2558IntArrayBits numBitsNeeded = IntArray.NumBitsNeeded(binUpperBounds.Length);
SumupPerformanceCommand.cs (1)
157IntArrayBits bits = IntArray.NumBitsNeeded(_bins);