Home
last modified time | relevance | path

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

/external/libtextclassifier/native/annotator/
Dcached-features.cc32 int num_extracted_tokens = 0; in CalculateOutputFeaturesSize() local
36 num_extracted_tokens += config->num_tokens_before(); in CalculateOutputFeaturesSize()
37 num_extracted_tokens += config->num_tokens_inside_left(); in CalculateOutputFeaturesSize()
38 num_extracted_tokens += config->num_tokens_inside_right(); in CalculateOutputFeaturesSize()
39 num_extracted_tokens += config->num_tokens_after(); in CalculateOutputFeaturesSize()
41 ++num_extracted_tokens; in CalculateOutputFeaturesSize()
44 num_extracted_tokens = 2 * options->context_size() + 1; in CalculateOutputFeaturesSize()
47 int output_features_size = num_extracted_tokens * feature_vector_size; in CalculateOutputFeaturesSize()