Searched refs:bag_span (Results 1 – 2 of 2) sorted by relevance
156 const TokenSpan& bag_span, std::vector<float>* output_features) const { in AppendBagFeatures() argument159 for (int i = bag_span.first; i < bag_span.second; ++i) { in AppendBagFeatures()162 (*features_)[i * NumFeaturesPerToken() + j] / bag_span.Size(); in AppendBagFeatures()
69 void AppendBagFeatures(const TokenSpan& bag_span,