/external/libtextclassifier/annotator/ |
cached-features_test.cc | 51 const CachedFeatures& cached_features, int click_pos) { 53 cached_features.AppendClickContextFeaturesForClick(click_pos, 59 const CachedFeatures& cached_features, TokenSpan selected_span) { 61 cached_features.AppendBoundsSensitiveFeaturesForSpan(selected_span, 78 const std::unique_ptr<CachedFeatures> cached_features = local 83 ASSERT_TRUE(cached_features); 85 EXPECT_THAT(GetCachedClickContextFeatures(*cached_features, 5), 89 EXPECT_THAT(GetCachedClickContextFeatures(*cached_features, 6), 93 EXPECT_THAT(GetCachedClickContextFeatures(*cached_features, 7), 119 const std::unique_ptr<CachedFeatures> cached_features local [all...] |
cached-features.cc | 74 std::unique_ptr<CachedFeatures> cached_features(new CachedFeatures()); 75 cached_features->extraction_span_ = extraction_span; 76 cached_features->features_ = std::move(features); 77 cached_features->padding_features_ = std::move(padding_features); 78 cached_features->options_ = options; 80 cached_features->output_features_size_ = 83 return cached_features;
|
annotator.cc | 1075 std::unique_ptr<CachedFeatures> cached_features; local 1282 std::unique_ptr<CachedFeatures> cached_features; local 1682 std::unique_ptr<CachedFeatures> cached_features; local [all...] |
annotator.h | 401 const CachedFeatures& cached_features, 409 const CachedFeatures& cached_features, 418 const TokenSpan& inference_span, const CachedFeatures& cached_features,
|
feature-processor_test.cc | 629 std::unique_ptr<CachedFeatures> cached_features; local 640 &cached_features)); 642 cached_features->AppendClickContextFeaturesForClick(1, &features); 671 std::unique_ptr<CachedFeatures> cached_features; local 694 &cached_features)); 696 cached_features->AppendBoundsSensitiveFeaturesForSpan({2, 4}, &features); [all...] |
feature-processor.h | 155 std::unique_ptr<CachedFeatures>* cached_features) const;
|
feature-processor.cc | 765 std::unique_ptr<CachedFeatures>* cached_features) const { 787 *cached_features = CachedFeatures::Create(token_span, std::move(features), 790 if (!*cached_features) {
|