Searched refs:NumFeaturesPerToken (Results 1 – 2 of 2) sorted by relevance
144 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
72 int NumFeaturesPerToken() const;