2 references to EncodeAsBytes
Microsoft.ML.Tokenizers (2)
Model\SentencePieceTokenizer.cs (2)
349
EncodeAsBytes
(text.Slice(symbols[index].pieceSpan.Index, symbols[index].pieceSpan.Length), symbols[index].pieceSpan.Index);
429
EncodeAsBytes
(text.Slice(pieceSpan.Index, pieceSpan.Length), pieceSpan.Index);