[REFACTOR] Replace TensorObj and TensorValue with NDArray (#4643)
authorZhi <5145158+zhiics@users.noreply.github.com>
Sat, 11 Jan 2020 00:44:16 +0000 (16:44 -0800)
committerJared Roesch <jroesch@octoml.ai>
Sat, 11 Jan 2020 00:44:16 +0000 (16:44 -0800)
commit86092de0b6fd22f22b0faa9c9fc56e09c3392dab
treeee3aba56cf8451768992199d3bb1c4c19dede64e
parentdcf7fbf1f962569e78c624755b2d612fffa81ada
[REFACTOR] Replace TensorObj and TensorValue with NDArray (#4643)

* replace TensorObj and TensorValue with NDArray

* NodeBase to Object in Python

* rebase
55 files changed:
docs/api/python/dev.rst
docs/dev/codebase_walkthrough.rst
include/tvm/relay/interpreter.h
include/tvm/runtime/vm.h
python/tvm/__init__.py
python/tvm/_ffi/_ctypes/function.py
python/tvm/_ffi/_ctypes/object.py
python/tvm/_ffi/_cython/function.pxi
python/tvm/_ffi/_cython/object.pxi
python/tvm/_ffi/function.py
python/tvm/_ffi/node.py [deleted file]
python/tvm/_ffi/object.py
python/tvm/_ffi/object_generic.py [moved from python/tvm/_ffi/node_generic.py with 82% similarity]
python/tvm/api.py
python/tvm/arith.py
python/tvm/attrs.py
python/tvm/build_module.py
python/tvm/container.py
python/tvm/expr.py
python/tvm/ir_builder.py
python/tvm/object.py [moved from python/tvm/node.py with 93% similarity]
python/tvm/relay/_module.pyi
python/tvm/relay/adt.py
python/tvm/relay/backend/compile_engine.py
python/tvm/relay/backend/interpreter.py
python/tvm/relay/backend/vm.py
python/tvm/relay/backend/vmobj.py
python/tvm/relay/base.py
python/tvm/relay/expr.pyi
python/tvm/relay/quantize/quantize.py
python/tvm/relay/testing/py_converter.py
python/tvm/relay/transform.pyi
python/tvm/relay/ty.pyi
python/tvm/schedule.py
python/tvm/stmt.py
python/tvm/target.py
python/tvm/tensor.py
python/tvm/tensor_intrin.py
src/relay/backend/interpreter.cc
src/relay/backend/vm/compiler.cc
src/relay/pass/fold_constant.cc
src/relay/pass/partial_eval.cc
src/runtime/vm/executable.cc
src/runtime/vm/object.cc
src/runtime/vm/vm.cc
tests/python/frontend/tensorflow/test_control_flow.py
tests/python/frontend/tensorflow/test_forward.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
tests/python/unittest/test_pass_inject_double_buffer.py
tests/python/unittest/test_pass_inject_vthread.py
tests/python/unittest/test_pass_storage_flatten.py