Searched refs:CachedFeatures (Results 1 – 8 of 8) sorted by relevance
/external/libtextclassifier/native/annotator/ |
D | cached-features.cc | 59 std::unique_ptr<CachedFeatures> CachedFeatures::Create( in Create() 74 std::unique_ptr<CachedFeatures> cached_features(new CachedFeatures()); in Create() 86 void CachedFeatures::AppendClickContextFeaturesForClick( in AppendClickContextFeaturesForClick() 96 void CachedFeatures::AppendBoundsSensitiveFeaturesForSpan( in AppendBoundsSensitiveFeaturesForSpan() 132 void CachedFeatures::AppendFeaturesInternal( in AppendFeaturesInternal() 149 void CachedFeatures::AppendPaddingFeatures( in AppendPaddingFeatures() 155 void CachedFeatures::AppendBagFeatures( in AppendBagFeatures() 167 int CachedFeatures::NumFeaturesPerToken() const { in NumFeaturesPerToken()
|
D | cached-features_test.cc | 51 const CachedFeatures& cached_features, int click_pos) { in GetCachedClickContextFeatures() 59 const CachedFeatures& cached_features, TokenSpan selected_span) { in GetCachedBoundsSensitiveFeatures() 78 const std::unique_ptr<CachedFeatures> cached_features = in TEST() 79 CachedFeatures::Create( in TEST() 119 const std::unique_ptr<CachedFeatures> cached_features = in TEST() 120 CachedFeatures::Create( in TEST()
|
D | cached-features.h | 31 class CachedFeatures { 33 static std::unique_ptr<CachedFeatures> Create( 53 CachedFeatures() {} in CachedFeatures() function
|
D | annotator.h | 370 const CachedFeatures& cached_features, 378 const CachedFeatures& cached_features, 387 const TokenSpan& inference_span, const CachedFeatures& cached_features,
|
D | feature-processor.h | 174 std::unique_ptr<CachedFeatures>* cached_features) const;
|
D | feature-processor.cc | 795 std::unique_ptr<CachedFeatures>* cached_features) const { in ExtractFeatures() 817 *cached_features = CachedFeatures::Create(token_span, std::move(features), in ExtractFeatures()
|
D | annotator.cc | 1316 std::unique_ptr<CachedFeatures> cached_features; in ModelSuggestSelection() 1526 std::unique_ptr<CachedFeatures> cached_features; in ModelClassifyText() 1998 std::unique_ptr<CachedFeatures> cached_features; in ModelAnnotate() 2896 const CachedFeatures& cached_features, in ModelChunk() 2980 const CachedFeatures& cached_features, in ModelClickContextScoreChunks() 3050 const TokenSpan& inference_span, const CachedFeatures& cached_features, in ModelBoundsSensitiveScoreChunks()
|
D | feature-processor_test.cc | 704 std::unique_ptr<CachedFeatures> cached_features; in TEST_F() 746 std::unique_ptr<CachedFeatures> cached_features; in TEST_F()
|