3 writes to NgramLength
Microsoft.ML.Transforms (3)
Text\NgramHashingTransformer.cs (3)
975
NgramLength
= ngramLength;
1005
NgramLength
= ctx.Reader.ReadInt32();
1035
NgramLength
= ctx.Reader.ReadInt32();
14 references to NgramLength
Microsoft.ML.Transforms (14)
Text\NgramHashingTransformer.cs (14)
414
int ngramLength = _parent._columns[iinfo].
NgramLength
;
569
var 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>
1006
Contracts.CheckDecode(0 <
NgramLength
&&
NgramLength
<= NgramBufferBuilder.MaxSkipNgramLength);
1009
Contracts.CheckDecode(SkipLength <= NgramBufferBuilder.MaxSkipNgramLength -
NgramLength
);
1036
Contracts.CheckDecode(0 <
NgramLength
&&
NgramLength
<= NgramBufferBuilder.MaxSkipNgramLength);
1039
Contracts.CheckDecode(SkipLength <= NgramBufferBuilder.MaxSkipNgramLength -
NgramLength
);
1069
Contracts.Assert(0 <
NgramLength
&&
NgramLength
<= NgramBufferBuilder.MaxSkipNgramLength);
1070
ctx.Writer.Write(
NgramLength
);
1072
Contracts.Assert(
NgramLength
+ SkipLength <= NgramBufferBuilder.MaxSkipNgramLength);