2 writes to NumberOfBits
Microsoft.ML.Data (2)
Transforms\Hashing.cs (2)
1845
NumberOfBits
= numberOfBits;
1863
NumberOfBits
= ctx.Reader.ReadInt32();
11 references to NumberOfBits
Microsoft.ML.Data (11)
Transforms\Hashing.cs (11)
163
var keyCount = (ulong)1 << column.
NumberOfBits
;
354
var mask = (1U << _columns[iinfo].
NumberOfBits
) - 1;
456
var mask = (1U << ex.
NumberOfBits
) - 1;
468
var mask = (1U << _columns[iinfo].
NumberOfBits
) - 1;
1421
var shiftValue = ctx.AddInitializer((ulong)(32 - _parent._columns[iinfo].
NumberOfBits
), false);
1602
Collector = new InvertHashCollector<T>(1 << ex.
NumberOfBits
, invertHashMaxCount, GetTextMap(), GetComparer());
1864
Contracts.CheckDecode(NumBitsMin <=
NumberOfBits
&&
NumberOfBits
< NumBitsLim);
1879
Contracts.Assert(NumBitsMin <=
NumberOfBits
&&
NumberOfBits
< NumBitsLim);
1880
ctx.Writer.Write(
NumberOfBits
);