Home
last modified time | relevance | path

Searched refs:NumFeaturesPerToken (Results 1 – 2 of 2) sorted by relevance

/external/libtextclassifier/annotator/
Dcached-features.cc144 features_->begin() + copy_span.first * NumFeaturesPerToken(), in AppendFeaturesInternal()
145 features_->begin() + copy_span.second * NumFeaturesPerToken()); in AppendFeaturesInternal()
160 output_features->resize(output_features->size() + NumFeaturesPerToken()); in AppendBagFeatures()
162 for (int j = 0; j < NumFeaturesPerToken(); ++j) { in AppendBagFeatures()
164 (*features_)[i * NumFeaturesPerToken() + j] / TokenSpanSize(bag_span); in AppendBagFeatures()
169 int CachedFeatures::NumFeaturesPerToken() const { in NumFeaturesPerToken() function in libtextclassifier3::CachedFeatures
Dcached-features.h72 int NumFeaturesPerToken() const;