Home | History | Annotate | Download | only in libtextclassifier

Lines Matching defs:scores

597   std::unordered_map<int, float> scores;
601 scores[i] = GetPriorityScore(candidates[i].classification);
607 // something and we need the actual classification scores. So if the
618 scores[i] = GetPriorityScore(classification);
623 [&scores](int i, int j) { return scores[i] > scores[j]; });
922 const std::vector<float> scores =
925 classification_results->resize(scores.size());
926 for (int i = 0; i < scores.size(); i++) {
928 classification_feature_processor_->LabelToCollection(i), scores[i]};
1422 const std::vector<float> scores = ComputeSoftmax(
1437 UpdateMax(&chunk_scores, candidate_span, scores[j]);