Home
last modified time | relevance | path

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

/external/libtextclassifier/native/utils/tflite/
Dtoken_encoder.cc138 const int max_encoded_position = max_output_length; in Eval() local
147 encoded_positions.push_back(std::min(k, max_encoded_position - 1)); in Eval()
153 /*padding_value=*/max_encoded_position, &output_positions); in Eval()
Dtext_encoder.cc240 const int max_encoded_position = max_output_length; in Eval() local
253 encoded_positions.push_back(std::min(i, max_encoded_position - 1)); in Eval()
264 /*padding_value=*/max_encoded_position, in Eval()