9 overrides of BitsPerItem
Microsoft.ML.FastTree (9)
Dataset\DenseIntArray.cs (6)
145public override IntArrayBits BitsPerItem { get { return IntArrayBits.Bits0; } } 210public override IntArrayBits BitsPerItem { get { return IntArrayBits.Bits10; } } 386public override IntArrayBits BitsPerItem { get { return IntArrayBits.Bits8; } } 473public override IntArrayBits BitsPerItem { get { return IntArrayBits.Bits4; } } 593public override IntArrayBits BitsPerItem { get { return IntArrayBits.Bits16; } } 682public override IntArrayBits BitsPerItem { get { return IntArrayBits.Bits32; } }
Dataset\RepeatIntArray.cs (1)
116public override IntArrayBits BitsPerItem { get { return _values.BitsPerItem; } }
Dataset\SegmentIntArray.cs (1)
34public override IntArrayBits BitsPerItem
Dataset\SparseIntArray.cs (1)
248public override IntArrayBits BitsPerItem
10 references to BitsPerItem
Microsoft.ML.FastTree (10)
Dataset\DenseIntArray.cs (3)
38/// Value must be in legal range 0...((2^<see cref="IntArray.BitsPerItem"/>)-1). 58return IntArray.New(itemIndices.Length, IntArrayType.Dense, BitsPerItem, itemIndices.Select(x => this[x])); 68newArrays[p] = IntArray.New(assignment[p].Length, IntArrayType.Dense, BitsPerItem, assignment[p].Select(x => this[x]));
Dataset\Feature.cs (2)
48IsTrivialFeature = bins.BitsPerItem == IntArrayBits.Bits0; 299if (bitsPerItem == parts[0].Bins.BitsPerItem)
Dataset\IntArray.cs (2)
59((int)BitsPerItem).ToByteArray(buffer, ref position); 360if (bestType == Type && classicBits == BitsPerItem)
Dataset\RepeatIntArray.cs (1)
116public override IntArrayBits BitsPerItem { get { return _values.BitsPerItem; } }
Dataset\SparseIntArray.cs (2)
250get { return _values.BitsPerItem; } 475_values.BitsPerItem);