Lines Matching refs:output_features
87 int click_pos, std::vector<float>* output_features) const { in AppendClickContextFeaturesForClick()
93 /*read_mask_span=*/{0, extraction_span_.Size()}, output_features); in AppendClickContextFeaturesForClick()
97 TokenSpan selected_span, std::vector<float>* output_features) const { in AppendBoundsSensitiveFeaturesForSpan()
111 /*read_mask_span=*/{0, selected_span.second}, output_features); in AppendBoundsSensitiveFeaturesForSpan()
121 {selected_span.first, extraction_span_.Size()}, output_features); in AppendBoundsSensitiveFeaturesForSpan()
124 AppendBagFeatures(selected_span, output_features); in AppendBoundsSensitiveFeaturesForSpan()
128 output_features->push_back(static_cast<float>(selected_span.Size())); in AppendBoundsSensitiveFeaturesForSpan()
134 std::vector<float>* output_features) const { in AppendFeaturesInternal()
138 AppendPaddingFeatures(output_features); in AppendFeaturesInternal()
140 output_features->insert( in AppendFeaturesInternal()
141 output_features->end(), in AppendFeaturesInternal()
145 AppendPaddingFeatures(output_features); in AppendFeaturesInternal()
150 std::vector<float>* output_features) const { in AppendPaddingFeatures()
151 output_features->insert(output_features->end(), padding_features_->begin(), in AppendPaddingFeatures()
156 const TokenSpan& bag_span, std::vector<float>* output_features) const { in AppendBagFeatures()
157 const int offset = output_features->size(); in AppendBagFeatures()
158 output_features->resize(output_features->size() + NumFeaturesPerToken()); in AppendBagFeatures()
161 (*output_features)[offset + j] += in AppendBagFeatures()