[BUG_FIX] Fix resize test (#6298)
authorLily Orth-Smith <lilyorthsmith@gmail.com>
Sat, 22 Aug 2020 01:03:43 +0000 (18:03 -0700)
committerGitHub <noreply@github.com>
Sat, 22 Aug 2020 01:03:43 +0000 (10:03 +0900)
commit9a0413a235a09640b8c475ece217e9de557370ec
tree654b7870ca99e21f69ab17f3677fcd31d6ad7205
parent4c728d532b987ae4de464597bbfccc687913ad2d
[BUG_FIX] Fix resize test (#6298)

* fix resize tests

* add different scale to resize tests

* fix dynamic to static resize test

* fix error throwing in topi resize

* fix topi and importer tests

* fix lint

* flakey test failed

* make resize test less sensitive; had floating point rounding err on gpu

* remove nearest_neighbor + half_pixel option from pytorch importer

* remove nearest_neighbor + half_pixel in upsample3d
python/tvm/relay/frontend/onnx.py
python/tvm/relay/frontend/pytorch.py
python/tvm/topi/image/resize.py
tests/python/relay/dyn/test_dynamic_op_level5.py
tests/python/relay/test_op_level5.py
tests/python/relay/test_pass_dynamic_to_static.py
tests/python/topi/python/test_topi_image.py