Add no filter case in filter_boxes_by_score() if score_threshold is zero
This avoids us performing N comparisons for the given batch if the score threshold used is less than zero. This allows us to simply just std::transform all boxes without needing to perform a bunch of needles compares and use constructs a std::pair of box score, idx directly.
Showing
Please register or sign in to comment