Home
last modified time | relevance | path

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

/external/tflite-support/tensorflow_lite_support/cc/utils/
Dcommon_utils.cc71 const size_t vocab_buffer_size) { in LoadVocabFromBuffer() argument
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
88 const_cast<char*>(vocab_buffer_data + vocab_buffer_size)); in LoadVocabAndIndexFromBuffer()
Dcommon_utils.h34 const size_t vocab_buffer_size);
44 const char* vocab_buffer_data, const size_t vocab_buffer_size);
/external/tflite-support/tensorflow_lite_support/cc/text/tokenizers/
Dregex_tokenizer.cc56 size_t vocab_buffer_size) in RegexTokenizer() argument
59 vocab_buffer_size)} {
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.h36 size_t vocab_buffer_size);
/external/tflite-support/tensorflow_lite_support/cc/task/text/qa/
Dbert_question_answerer.h111 size_t vocab_buffer_size);
145 size_t vocab_buffer_size);
Dbert_question_answerer.cc111 const char* vocab_buffer_data, size_t vocab_buffer_size) { in CreateBertQuestionAnswererFromBuffer() argument
120 vocab_buffer_size); 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