Home
last modified time | relevance | path

Searched refs:CachedFeatures (Results 1 – 8 of 8) sorted by relevance

/external/libtextclassifier/native/annotator/
Dcached-features.cc59 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()
Dcached-features_test.cc51 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()
Dcached-features.h31 class CachedFeatures {
33 static std::unique_ptr<CachedFeatures> Create(
53 CachedFeatures() {} in CachedFeatures() function
Dannotator.h370 const CachedFeatures& cached_features,
378 const CachedFeatures& cached_features,
387 const TokenSpan& inference_span, const CachedFeatures& cached_features,
Dfeature-processor.h174 std::unique_ptr<CachedFeatures>* cached_features) const;
Dfeature-processor.cc795 std::unique_ptr<CachedFeatures>* cached_features) const { in ExtractFeatures()
817 *cached_features = CachedFeatures::Create(token_span, std::move(features), in ExtractFeatures()
Dannotator.cc1316 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()
Dfeature-processor_test.cc704 std::unique_ptr<CachedFeatures> cached_features; in TEST_F()
746 std::unique_ptr<CachedFeatures> cached_features; in TEST_F()