3 writes to NgramLength
Microsoft.ML.Transforms (3)
Text\NgramHashingTransformer.cs (3)
975NgramLength = ngramLength; 1005NgramLength = ctx.Reader.ReadInt32(); 1035NgramLength = ctx.Reader.ReadInt32();
14 references to NgramLength
Microsoft.ML.Transforms (14)
Text\NgramHashingTransformer.cs (14)
414int ngramLength = _parent._columns[iinfo].NgramLength; 569var bldr = new NgramBufferBuilder(_parent._columns[iinfo].NgramLength, _parent._columns[iinfo].SkipLength, 902/// <summary>Whether to store all n-gram lengths up to <see cref="NgramLength"/>, or only <see cref="NgramLength"/>.</summary> 1006Contracts.CheckDecode(0 < NgramLength && NgramLength <= NgramBufferBuilder.MaxSkipNgramLength); 1009Contracts.CheckDecode(SkipLength <= NgramBufferBuilder.MaxSkipNgramLength - NgramLength); 1036Contracts.CheckDecode(0 < NgramLength && NgramLength <= NgramBufferBuilder.MaxSkipNgramLength); 1039Contracts.CheckDecode(SkipLength <= NgramBufferBuilder.MaxSkipNgramLength - NgramLength); 1069Contracts.Assert(0 < NgramLength && NgramLength <= NgramBufferBuilder.MaxSkipNgramLength); 1070ctx.Writer.Write(NgramLength); 1072Contracts.Assert(NgramLength + SkipLength <= NgramBufferBuilder.MaxSkipNgramLength);