Home
last modified time | relevance | path

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

/external/libtextclassifier/native/annotator/
Dfeature-processor_test.cc369 options.max_selection_span = 1; in TEST_F()
418 options.max_selection_span = 2; in TEST_F()
443 options.max_selection_span = 1; in TEST_F()
492 options.max_selection_span = 2; in TEST_F()
582 options.max_selection_span = 2; in TEST_F()
693 options.max_selection_span = 2; in TEST_F()
729 options.max_selection_span = 2; in TEST_F()
Dfeature-processor.cc267 const int padding = options_->context_size() - options_->max_selection_span(); in SpanToLabel()
683 for (int l = 0; l < (options_->max_selection_span() + 1); ++l) { in MakeLabelMaps()
684 for (int r = 0; r < (options_->max_selection_span() + 1); ++r) { in MakeLabelMaps()
686 r + l <= options_->max_selection_span()) { in MakeLabelMaps()
Dannotator.cc1293 const int max_selection_span = in ModelSuggestSelection() local
1294 selection_feature_processor_->GetOptions()->max_selection_span(); in ModelSuggestSelection()
1296 /*num_tokens_left=*/max_selection_span + in ModelSuggestSelection()
1298 /*num_tokens_right=*/max_selection_span + in ModelSuggestSelection()
2898 const int max_selection_span = in ModelChunk() local
2899 selection_feature_processor_->GetOptions()->max_selection_span(); in ModelChunk()
2905 /*num_tokens_left=*/max_selection_span, in ModelChunk()
2906 /*num_tokens_right=*/max_selection_span), in ModelChunk()
3053 const int max_selection_span = in ModelBoundsSensitiveScoreChunks() local
3054 selection_feature_processor_->GetOptions()->max_selection_span(); in ModelBoundsSensitiveScoreChunks()
[all …]
Dmodel.fbs674 max_selection_span:int = -1;
703 // that are feasible (e.g., those that are shorter than max_selection_span),
/external/libtextclassifier/native/annotator/duration/
Dduration_test.cc81 options.max_selection_span = 1; in BuildFeatureProcessor()