Home
last modified time | relevance | path

Searched refs:pad_token_id (Results 1 – 2 of 2) sorted by relevance

/external/tflite-support/tensorflow_lite_support/cc/text/tokenizers/
Dtokenizer_utils.cc113 int pad_token_id = 0; in CreateTokenizerFromProcessUnit() local
114 if (!regex_tokenizer->GetPadToken(&pad_token_id)) { in CreateTokenizerFromProcessUnit()
/external/tflite-support/tensorflow_lite_support/cc/task/text/nlclassifier/
Dnl_classifier.cc129 int pad_token_id = 0; in CreateRegexTokenizerFromProcessUnit() local
130 if (!regex_tokenizer->GetPadToken(&pad_token_id)) { in CreateRegexTokenizerFromProcessUnit()
213 int pad_token_id = 0; in Preprocess() local
214 tokenizer_->GetPadToken(&pad_token_id); in Preprocess()
216 std::vector<int> input_tokens(max_sentence_length, pad_token_id); in Preprocess()