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()
Dannotator.cc1318 const int max_selection_span = in ModelSuggestSelection() local
1319 selection_feature_processor_->GetOptions()->max_selection_span(); in ModelSuggestSelection()
1321 /*num_tokens_left=*/max_selection_span + in ModelSuggestSelection()
1323 /*num_tokens_right=*/max_selection_span + in ModelSuggestSelection()
2915 const int max_selection_span = in ModelChunk() local
2916 selection_feature_processor_->GetOptions()->max_selection_span(); in ModelChunk()
2922 /*num_tokens_left=*/max_selection_span, in ModelChunk()
2923 /*num_tokens_right=*/max_selection_span), in ModelChunk()
3070 const int max_selection_span = in ModelBoundsSensitiveScoreChunks() local
3071 selection_feature_processor_->GetOptions()->max_selection_span(); in ModelBoundsSensitiveScoreChunks()
[all …]
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()
Dmodel.fbs688 max_selection_span:int = -1;
717 // that are feasible (e.g., those that are shorter than max_selection_span),
/external/libtextclassifier/native/annotator/duration/
Dduration_test.cc102 options.max_selection_span = 1; in BuildFeatureProcessor()