Home
last modified time | relevance | path

Searched refs:vocab_buffer_data (Results 1 – 8 of 8) sorted by relevance

/external/tflite-support/tensorflow_lite_support/cc/utils/
Dcommon_utils.cc70 std::vector<std::string> LoadVocabFromBuffer(const char* vocab_buffer_data, in LoadVocabFromBuffer() argument
72 membuf sbuf(const_cast<char*>(vocab_buffer_data), in LoadVocabFromBuffer()
73 const_cast<char*>(vocab_buffer_data + vocab_buffer_size)); in LoadVocabFromBuffer()
86 const char* vocab_buffer_data, const size_t vocab_buffer_size) { in LoadVocabAndIndexFromBuffer() argument
87 membuf sbuf(const_cast<char*>(vocab_buffer_data), in LoadVocabAndIndexFromBuffer()
88 const_cast<char*>(vocab_buffer_data + vocab_buffer_size)); in LoadVocabAndIndexFromBuffer()
Dcommon_utils.h33 std::vector<std::string> LoadVocabFromBuffer(const char* vocab_buffer_data,
44 const char* vocab_buffer_data, const size_t vocab_buffer_size);
/external/tflite-support/tensorflow_lite_support/cc/text/tokenizers/
Dregex_tokenizer.cc55 const char* vocab_buffer_data, in RegexTokenizer() argument
58 token_index_map_{utils::LoadVocabAndIndexFromBuffer(vocab_buffer_data,
Dbert_tokenizer.h106 BertTokenizer(const char* vocab_buffer_data, size_t vocab_buffer_size,
109 utils::LoadVocabFromBuffer(vocab_buffer_data, vocab_buffer_size), in BertTokenizer() argument
Dregex_tokenizer.h35 const char* vocab_buffer_data,
/external/tflite-support/tensorflow_lite_support/cc/task/text/qa/
Dbert_question_answerer.h110 const char* vocab_buffer_data,
144 void InitializeBertTokenizerFromBinary(const char* vocab_buffer_data,
Dbert_question_answerer.cc111 const char* vocab_buffer_data, size_t vocab_buffer_size) { in CreateBertQuestionAnswererFromBuffer() argument
119 api_to_init->InitializeBertTokenizerFromBinary(vocab_buffer_data, in CreateBertQuestionAnswererFromBuffer()
374 const char* vocab_buffer_data, size_t vocab_buffer_size) { in InitializeBertTokenizerFromBinary() argument
376 absl::make_unique<BertTokenizer>(vocab_buffer_data, vocab_buffer_size); in InitializeBertTokenizerFromBinary()
/external/libtextclassifier/native/utils/
Dbert_tokenizer.h98 BertTokenizer(const char* vocab_buffer_data, size_t vocab_buffer_size,
100 : BertTokenizer(LoadVocabFromBuffer(vocab_buffer_data, vocab_buffer_size), in BertTokenizer() argument