[Relay][VM] Clean up the VM and VM profiler code (#4391)
authorHaichen Shen <shenhaichen@gmail.com>
Fri, 22 Nov 2019 00:01:01 +0000 (16:01 -0800)
committerZhi <5145158+zhiics@users.noreply.github.com>
Fri, 22 Nov 2019 00:01:01 +0000 (16:01 -0800)
commit122a4930f2bf818501d67b755f0cf21c79b85a21
treeeb9e6b33e55168b9318d8e886ef100a536224228
parent1562eaeb00571679423d470769dba3d749d3eb2a
[Relay][VM] Clean up the VM and VM profiler code (#4391)

* [VM] add a few more API to vm

* [VM][Fix] fix vm convert args

* [VM] a few fixes

* rename fields

* update

* update vm profiler

* x

* add doc

* lint

* fix test

* address comments
include/tvm/runtime/vm.h
python/tvm/relay/backend/profiler_vm.py
python/tvm/relay/backend/vm.py
src/relay/backend/vm/profiler/compiler.cc [deleted file]
src/runtime/vm/executable.cc
src/runtime/vm/profiler/vm.cc
src/runtime/vm/profiler/vm.h
src/runtime/vm/vm.cc
tests/python/relay/test_vm.py
tests/python/relay/test_vm_serialization.py
tests/python/unittest/test_runtime_vm_profiler.py