Searched refs:split_size_ (Results 1 – 2 of 2) sorted by relevance
92 split_size_.resize(num_classes + 1, 0); in AddClass()101 split_size_.resize(n, 0); in AllocateClasses()140 if (split_size_[class_id] == 0) in SplitOn()144 split_size_[class_id]++; in SplitOn()161 if (class_size_[class_id] == split_size_[class_id]) { in SplitRefine()163 split_size_[class_id] = 0; in SplitRefine()168 size_t remainder = class_size_[class_id] - split_size_[class_id]; in SplitRefine()169 if (remainder < split_size_[class_id]) { // add smaller in SplitRefine()172 class_size_[class_id] = split_size_[class_id]; in SplitRefine()180 class_size_[new_class] = split_size_[class_id]; in SplitRefine()[all …]
87 split_size_.resize(num_classes + 1, 0); in AddClass()96 split_size_.resize(n, 0); in AllocateClasses()135 if (split_size_[class_id] == 0) in SplitOn()139 split_size_[class_id]++; in SplitOn()156 if (class_size_[class_id] == split_size_[class_id]) { in SplitRefine()158 split_size_[class_id] = 0; in SplitRefine()163 size_t remainder = class_size_[class_id] - split_size_[class_id]; in SplitRefine()164 if (remainder < (size_t)split_size_[class_id]) { // add smaller in SplitRefine()167 class_size_[class_id] = split_size_[class_id]; in SplitRefine()175 class_size_[new_class] = split_size_[class_id]; in SplitRefine()[all …]