Home
last modified time | relevance | path

Searched refs:SentencePieceTokenizer (Results 1 – 6 of 6) sorted by relevance

/external/tflite-support/tensorflow_lite_support/cc/text/tokenizers/
Dsentencepiece_tokenizer.h32 class SentencePieceTokenizer : public Tokenizer {
35 explicit SentencePieceTokenizer(const std::string& path_to_model) { in SentencePieceTokenizer() function
39 explicit SentencePieceTokenizer(const char* spmodel_buffer_data, in SentencePieceTokenizer() function
Dsentencepiece_jni.cc32 using ::tflite::support::text::tokenizer::SentencePieceTokenizer;
40 absl::make_unique<SentencePieceTokenizer>(model.data(), model.size()); in Java_org_tensorflow_lite_support_text_tokenizers_SentencePieceTokenizer_nativeLoadResource()
47 delete reinterpret_cast<SentencePieceTokenizer*>(handle); in Java_org_tensorflow_lite_support_text_tokenizers_SentencePieceTokenizer_nativeUnloadResource()
Dtokenizer_utils.cc84 return absl::make_unique<SentencePieceTokenizer>(model_buffer.data(), in CreateTokenizerFromProcessUnit()
/external/tflite-support/tensorflow_lite_support/cc/task/text/qa/
Dbert_question_answerer.cc42 using ::tflite::support::text::tokenizer::SentencePieceTokenizer;
381 tokenizer_ = absl::make_unique<SentencePieceTokenizer>(path_to_spmodel); in InitializeSentencepieceTokenizer()
386 tokenizer_ = absl::make_unique<SentencePieceTokenizer>(spmodel_buffer_data, in InitializeSentencepieceTokenizerFromBinary()
/external/tflite-support/tensorflow_lite_support/ios/text/tokenizers/Sources/
DTFLSentencepieceTokenizer.mm22 using SentencepieceTokenizerCPP = ::tflite::support::text::tokenizer::SentencePieceTokenizer;
/external/tflite-support/tensorflow_lite_support/metadata/
Dmetadata_schema.fbs445 // The SentencePiece model files used in the SentencePieceTokenizer.
448 // The optional vocabulary model files used in the SentencePieceTokenizer.