1 write to MaxInputCharsPerWord
Microsoft.ML.Tokenizers (1)
Model\WordPieceTokenizer.cs (1)
75
MaxInputCharsPerWord
= maxInputCharsPerWord;
5 references to MaxInputCharsPerWord
Microsoft.ML.Tokenizers (4)
Model\WordPieceTokenizer.cs (4)
372
if (text.Length >
MaxInputCharsPerWord
)
378
int maxLength =
MaxInputCharsPerWord
+ ContinuingSubwordPrefix.Length;
511
if (text.Length >
MaxInputCharsPerWord
)
518
int maxLength =
MaxInputCharsPerWord
+ ContinuingSubwordPrefix.Length;
Microsoft.ML.Tokenizers.Tests (1)
WordPieceTests.cs (1)
41
Assert.Equal(100, tokenizer.
MaxInputCharsPerWord
);