Home
last modified time | relevance | path

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

/external/libtextclassifier/native/annotator/
Dcached-features.cc29 options->bounds_sensitive_features() && in CalculateOutputFeaturesSize()
30 options->bounds_sensitive_features()->enabled(); in CalculateOutputFeaturesSize()
35 options->bounds_sensitive_features(); in CalculateOutputFeaturesSize()
50 options->bounds_sensitive_features()->include_inside_length()) { in CalculateOutputFeaturesSize()
65 options->bounds_sensitive_features() && in Create()
66 options->bounds_sensitive_features()->enabled() in Create()
99 options_->bounds_sensitive_features(); in AppendBoundsSensitiveFeaturesForSpan()
Dfeature-processor_test.cc586 options.bounds_sensitive_features.reset( in TEST_F()
588 options.bounds_sensitive_features->enabled = true; in TEST_F()
589 options.bounds_sensitive_features->num_tokens_before = 5; in TEST_F()
590 options.bounds_sensitive_features->num_tokens_inside_left = 3; in TEST_F()
591 options.bounds_sensitive_features->num_tokens_inside_right = 3; in TEST_F()
592 options.bounds_sensitive_features->num_tokens_after = 5; in TEST_F()
593 options.bounds_sensitive_features->include_inside_bag = true; in TEST_F()
594 options.bounds_sensitive_features->include_inside_length = true; in TEST_F()
733 options.bounds_sensitive_features.reset( in TEST_F()
735 options.bounds_sensitive_features->enabled = true; in TEST_F()
[all …]
Dannotator.cc328 if (!model_->selection_feature_options()->bounds_sensitive_features()) { in ValidateAndInitialize()
361 ->bounds_sensitive_features()) { in ValidateAndInitialize()
1275 bounds_sensitive_features = selection_feature_processor_->GetOptions() in ModelSuggestSelection() local
1276 ->bounds_sensitive_features(); in ModelSuggestSelection()
1288 if (bounds_sensitive_features && bounds_sensitive_features->enabled()) { in ModelSuggestSelection()
1297 bounds_sensitive_features->num_tokens_before(), in ModelSuggestSelection()
1299 bounds_sensitive_features->num_tokens_after()); in ModelSuggestSelection()
1390 bounds_sensitive_features = in ClassifyTextUpperBoundNeededTokens() local
1392 ->bounds_sensitive_features(); in ClassifyTextUpperBoundNeededTokens()
1393 if (bounds_sensitive_features && bounds_sensitive_features->enabled()) { in ClassifyTextUpperBoundNeededTokens()
[all …]
Dcached-features_test.cc109 options.bounds_sensitive_features = std::move(config); in TEST()
Dmodel.fbs765 bounds_sensitive_features:FeatureProcessorOptions_.BoundsSensitiveFeatures;