[RELAY][REFACTOR] Mix mode context analysis (#6403)
authorZhi <5145158+zhiics@users.noreply.github.com>
Wed, 9 Sep 2020 19:09:22 +0000 (12:09 -0700)
committerGitHub <noreply@github.com>
Wed, 9 Sep 2020 19:09:22 +0000 (04:09 +0900)
commit50adbfac6a533f231a930bf80617c8eb3d7097a7
tree7f9b20dec0386a2e38702951a84ee7f3f0f2b446
parent8499d5824b655a23496982922e4bd9e56ebbaa91
[RELAY][REFACTOR] Mix mode context analysis (#6403)

* mix mode context analysis

* add uses_gpu decorator for more tests

* revert visit counter

* relax visit limit

* lint

* bump visit limit to 19

* typo
src/relay/analysis/context_analysis.cc
tests/python/frontend/pytorch/test_forward.py
tests/python/frontend/pytorch/test_lstm.py [moved from tests/python/frontend/pytorch/lstm_test.py with 97% similarity]
tests/python/relay/test_adt.py
tests/python/relay/test_any.py
tests/python/relay/test_vm.py