[Bugfix] Fix sort changing original input data issue (#3212)
authorLeyuan Wang <laurawly@gmail.com>
Wed, 22 May 2019 18:09:01 +0000 (11:09 -0700)
committerHaichen Shen <shenhaichen@gmail.com>
Wed, 22 May 2019 18:09:01 +0000 (11:09 -0700)
commit09960e300653d4ec756a9104177a2e4bc8f124ef
tree6a5939ff270eb28a49369bf18eeb9e1bd5053617
parentf7d7fdcd3881beff0a0ad13c6a82b45aa834fd61
[Bugfix] Fix sort changing original input data issue (#3212)

* sort bugfix for not rearranging input data

* separate sort schedule

* fix lint

* use identity op instead

* fix lint

* remove redundent code
src/op/extern_op.cc
topi/python/topi/cuda/nms.py
topi/python/topi/cuda/sort.py
topi/python/topi/cuda/vision.py