2 references to EncodeAsBytesFromEnd
Microsoft.ML.Tokenizers (2)
Model\SentencePieceTokenizer.cs (2)
1402
if (!
EncodeAsBytesFromEnd
(text.Slice(symbols[index].pieceSpan.Index, symbols[index].pieceSpan.Length), symbols[index].pieceSpan.Index, ref textIndex))
1501
return
EncodeAsBytesFromEnd
(text.Slice(pieceSpan.Index, pieceSpan.Length), pieceSpan.Index, ref textIndex);