-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TOPI] Simplify GPU NMS IR and optimize a bit (#7136)
* remove get_valid_counts from pytorch nms * fix pytorch nms for negative score * merge reset by -1 * move max_out_size handling to triangle loop * update torch nms test * fuse the last two kernels * parallelize the first kernel * merge first and last kernel * remove unnecessary cases * fix typo * revert pytorch frontend change * fuse rearrange step with triangle loop * fix max_output_size handling * check if already surpressed * fix topi vision test by wrapping tir const around int argument * fix for num anchors = 0 case * fix missing zero init of num valid boxes when the input is empty * add some comments and missing doc * typo fix * add a guard against zero dim grid / thread block inside ir_buidlder * typo fix * trigger CI
- Loading branch information
Showing
2 changed files
with
102 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters