[OPS, IMP] New batched_nms implementation (#3426)
* new batched_nms implem
* flake8
* hopefully fix torchscipt tests
* Use where instead of nonzero
* Use same threshold (4k) for CPU and GPU
* Remove use of argsort
* use views again
* remove print
* trying stuff, I don't know what's going on
* previous passed onnx checks so the error isn't in _vanilla func. Trying to return vanilla now
* add tracing decorators
* cleanup
* wip
* ignore new path with ONNX
* use vanilla if tracing...????
* Remove script_if_tracing decorator as it was conflicting with _is_tracing
* flake8
* Improve coverage
Co-authored-by:
Francisco Massa <fvsmassa@gmail.com>
Showing
Please register or sign in to comment