Searched refs:TokenSpanSize (Results 1 - 4 of 4) sorted by relevance

/external/libtextclassifier/
H A Dcached-features.cc94 /*read_mask_span=*/{0, TokenSpanSize(extraction_span_)}, output_features);
121 /*read_mask_span=*/{selected_span.first, TokenSpanSize(extraction_span_)},
130 static_cast<float>(TokenSpanSize(selected_span)));
164 (*features_)[i * NumFeaturesPerToken() + j] / TokenSpanSize(bag_span);
H A Dtext-classifier.cc839 const int selection_num_tokens = TokenSpanSize(selection_token_span);
1337 std::vector<bool> token_used(TokenSpanSize(inference_span));
1470 scored_chunks->reserve(TokenSpanSize(span_of_interest));
1487 TokenSpanSize(candidate_span) == 1) {
H A Dtypes.h94 inline int TokenSpanSize(const TokenSpan& token_span) { function in namespace:libtextclassifier2
H A Dfeature-processor.cc795 features->reserve(feature_vector_size * TokenSpanSize(token_span));

Completed in 1016 milliseconds