[runtime][refactor] Unify vm and interpreter objects (#4693)
authorZhi <5145158+zhiics@users.noreply.github.com>
Sat, 18 Jan 2020 17:04:47 +0000 (09:04 -0800)
committerHaichen Shen <shenhaichen@gmail.com>
Sat, 18 Jan 2020 17:04:47 +0000 (09:04 -0800)
commitacbf8851edc2c81fddc255f253295762dbb55d69
treefe0214bf91d787ded3e32968828bff961e12f624
parent2630ffcbc52973aaf86fd6b7000a6f2f30d5f25c
[runtime][refactor] Unify vm and interpreter objects (#4693)

* unify vm and interpreter objects

* move closure back vm

* adt/closure back to vm.adt/vm.closure

* closure base
26 files changed:
apps/lldb/tvm.py
include/tvm/relay/interpreter.h
include/tvm/runtime/object.h
include/tvm/runtime/vm.h
python/tvm/container.py
python/tvm/relay/__init__.py
python/tvm/relay/backend/_vmobj.py [deleted file]
python/tvm/relay/backend/interpreter.py
python/tvm/relay/backend/vm.py
python/tvm/relay/backend/vmobj.py [deleted file]
python/tvm/relay/frontend/common.py
python/tvm/relay/testing/__init__.py
python/tvm/relay/testing/py_converter.py
src/relay/backend/interpreter.cc
src/relay/pass/fold_constant.cc
src/relay/pass/partial_eval.cc
src/runtime/container.cc [moved from src/runtime/vm/object.cc with 71% similarity]
src/runtime/vm/vm.cc
tests/python/frontend/tensorflow/test_forward.py
tests/python/relay/benchmarking/benchmark_vm.py
tests/python/relay/test_adt.py
tests/python/relay/test_backend_interpreter.py
tests/python/relay/test_py_converter.py
tests/python/relay/test_vm.py
tests/python/relay/test_vm_object.py [deleted file]
tests/python/unittest/test_container.py [new file with mode: 0644]