Home
last modified time | relevance | path

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

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