Home
last modified time | relevance | path

Searched refs:max_num_total_tokens (Results 1 – 3 of 3) sorted by relevance

/external/libtextclassifier/native/actions/
Dactions-suggestions.cc541 const int max_num_total_tokens = in EmbedAndFlattenTokens() local
542 model_->feature_processor_options()->max_num_total_tokens(); in EmbedAndFlattenTokens()
543 if (max_num_total_tokens > 0) { in EmbedAndFlattenTokens()
552 if (total_tokens >= max_num_total_tokens) { in EmbedAndFlattenTokens()
553 message_token_offset = total_tokens - max_num_total_tokens; in EmbedAndFlattenTokens()
Dactions-suggestions_test.cc1576 options_->max_num_total_tokens = 3; in TEST_F()
1626 options_->max_num_total_tokens = 7; in TEST_F()
Dactions_model.fbs198 max_num_total_tokens:int = -1;