3 writes to NumberOfBits
Microsoft.ML.Transforms (3)
Text\NgramHashingTransformer.cs (3)
978NumberOfBits = numberOfBits; 1010NumberOfBits = ctx.Reader.ReadInt32(); 1040NumberOfBits = ctx.Reader.ReadInt32();
11 references to NumberOfBits
Microsoft.ML.Transforms (11)
Text\NgramHashingTransformer.cs (11)
407_types[i] = new VectorDataViewType(NumberDataViewType.Single, 1 << _parent._columns[i].NumberOfBits); 413uint mask = (1U << _parent._columns[iinfo].NumberOfBits) - 1; 8181 << _parent._columns[iinfo].NumberOfBits, _invertHashMaxCounts[iinfo], 851Contracts.Assert(vec.Length == 1 << _parent._columns[iinfo].NumberOfBits); 1011Contracts.CheckDecode(1 <= NumberOfBits && NumberOfBits <= 30); 1041Contracts.CheckDecode(1 <= NumberOfBits && NumberOfBits <= 30); 1074Contracts.Assert(1 <= NumberOfBits && NumberOfBits <= 30); 1075ctx.Writer.Write(NumberOfBits);