Searched refs:labels_left (Results 1 – 3 of 3) sorted by relevance
591 std::vector<PodNerModel_::LabelT> labels_left = original_labels_left; in TEST() local595 &labels_left)); in TEST()596 EXPECT_EQ(labels_left.size(), 9); in TEST()597 EXPECT_EQ(labels_left[0].collection_id, 0); in TEST()598 EXPECT_EQ(labels_left[1].collection_id, 0); in TEST()599 EXPECT_EQ(labels_left[2].collection_id, 0); in TEST()600 EXPECT_EQ(labels_left[3].collection_id, 1); in TEST()601 EXPECT_EQ(labels_left[4].collection_id, 0); in TEST()602 EXPECT_EQ(labels_left[5].collection_id, 0); in TEST()603 EXPECT_EQ(labels_left[6].collection_id, 4); in TEST()[all …]
421 std::vector<PodNerModel_::LabelT> *labels_left) { in MergeLabelsIntoLeftSequence() argument422 if (index_first_right_tag_in_left > labels_left->size()) { in MergeLabelsIntoLeftSequence()427 (labels_left->size() - index_first_right_tag_in_left) / 2; in MergeLabelsIntoLeftSequence()429 labels_left->resize(index_first_right_tag_in_left + labels_right.size()); in MergeLabelsIntoLeftSequence()431 labels_left->begin() + index_first_right_tag_in_left + in MergeLabelsIntoLeftSequence()
113 std::vector<PodNerModel_::LabelT> *labels_left);