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