Home
last modified time | relevance | path

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

/external/libtextclassifier/native/annotator/
Dcached-features.cc156 const TokenSpan& bag_span, std::vector<float>* output_features) const { in AppendBagFeatures() argument
159 for (int i = bag_span.first; i < bag_span.second; ++i) { in AppendBagFeatures()
162 (*features_)[i * NumFeaturesPerToken() + j] / bag_span.Size(); in AppendBagFeatures()
Dcached-features.h69 void AppendBagFeatures(const TokenSpan& bag_span,