Searched refs:bounds_sensitive_features (Results 1 – 6 of 6) sorted by relevance
29 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()100 options_->bounds_sensitive_features(); in AppendBoundsSensitiveFeaturesForSpan()
160 if (!model_->selection_feature_options()->bounds_sensitive_features()) { in ValidateAndInitialize()193 ->bounds_sensitive_features()) { in ValidateAndInitialize()671 bounds_sensitive_features = selection_feature_processor_->GetOptions() in ModelSuggestSelection() local672 ->bounds_sensitive_features(); in ModelSuggestSelection()684 if (bounds_sensitive_features && bounds_sensitive_features->enabled()) { in ModelSuggestSelection()694 bounds_sensitive_features->num_tokens_before(), in ModelSuggestSelection()696 bounds_sensitive_features->num_tokens_after()); in ModelSuggestSelection()801 bounds_sensitive_features = in ClassifyTextUpperBoundNeededTokens() local803 ->bounds_sensitive_features(); in ClassifyTextUpperBoundNeededTokens()804 if (bounds_sensitive_features && bounds_sensitive_features->enabled()) { in ClassifyTextUpperBoundNeededTokens()[all …]
517 options.bounds_sensitive_features.reset( in TEST()519 options.bounds_sensitive_features->enabled = true; in TEST()520 options.bounds_sensitive_features->num_tokens_before = 5; in TEST()521 options.bounds_sensitive_features->num_tokens_inside_left = 3; in TEST()522 options.bounds_sensitive_features->num_tokens_inside_right = 3; in TEST()523 options.bounds_sensitive_features->num_tokens_after = 5; in TEST()524 options.bounds_sensitive_features->include_inside_bag = true; in TEST()525 options.bounds_sensitive_features->include_inside_length = true; in TEST()666 options.bounds_sensitive_features.reset( in TEST()668 options.bounds_sensitive_features->enabled = true; in TEST()[all …]
109 options.bounds_sensitive_features = std::move(config); in TEST()
2457 …<libtextclassifier2::FeatureProcessorOptions_::BoundsSensitiveFeaturesT> bounds_sensitive_features; member2605 …classifier2::FeatureProcessorOptions_::BoundsSensitiveFeatures *bounds_sensitive_features() const { in bounds_sensitive_features() function2657 verifier.VerifyTable(bounds_sensitive_features()) && in Verify()2756 …libtextclassifier2::FeatureProcessorOptions_::BoundsSensitiveFeatures> bounds_sensitive_features) { in add_bounds_sensitive_features()2757 … fbb_.AddOffset(FeatureProcessorOptions::VT_BOUNDS_SENSITIVE_FEATURES, bounds_sensitive_features); in add_bounds_sensitive_features()2807 …btextclassifier2::FeatureProcessorOptions_::BoundsSensitiveFeatures> bounds_sensitive_features = 0,2812 builder_.add_bounds_sensitive_features(bounds_sensitive_features);2875 …btextclassifier2::FeatureProcessorOptions_::BoundsSensitiveFeatures> bounds_sensitive_features = 0,2908 bounds_sensitive_features,3607 …{ auto _e = bounds_sensitive_features(); if (_e) _o->bounds_sensitive_features = std::unique_ptr<l… in UnPackTo()[all …]
563 bounds_sensitive_features:libtextclassifier2.FeatureProcessorOptions_.BoundsSensitiveFeatures;