3 references to EncodeToTokens
Microsoft.ML.Tokenizers (3)
Model\EnglishRobertaTokenizer.cs (3)
393
List<EncodedToken> result =
EncodeToTokens
(token.AsSpan().Slice(0, newTokenIndex), indexMapping);
699
List<EncodedToken> result =
EncodeToTokens
(token.AsSpan().Slice(0, newTokenIndex), indexMapping);
744
List<EncodedToken> result =
EncodeToTokens
(token.AsSpan().Slice(0, newTokenIndex), indexMapping);