You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by tq...@apache.org on 2020/01/11 03:27:09 UTC
[incubator-tvm] branch master updated (86092de -> 12e51e6)
This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git.
from 86092de [REFACTOR] Replace TensorObj and TensorValue with NDArray (#4643)
add 12e51e6 [REFACTOR][IR] Initialize Unified IR Expr Data Structure (#4673)
No new revisions were added by this update.
Summary of changes:
include/tvm/expr.h | 53 +-----
include/tvm/ir/adt.h | 142 ++++++++++++++++
include/tvm/ir/expr.h | 270 +++++++++++++++++++++++++++++++
include/tvm/ir/type.h | 2 +-
include/tvm/relay/adt.h | 97 +----------
include/tvm/relay/expr.h | 131 +++------------
include/tvm/relay/feature.h | 5 +-
include/tvm/relay/op.h | 2 +-
include/tvm/runtime/object.h | 1 +
src/ir/adt.cc | 81 ++++++++++
src/{lang/lowered_func.cc => ir/expr.cc} | 27 +++-
src/relay/backend/compile_engine.cc | 2 +-
src/relay/backend/vm/lambda_lift.cc | 2 +-
src/relay/ir/adt.cc | 44 -----
src/relay/ir/base.cc | 3 +-
src/relay/ir/expr.cc | 20 +--
src/relay/ir/module.cc | 2 +-
src/relay/pass/fold_constant.cc | 2 +-
src/relay/pass/to_cps.cc | 2 +-
src/relay/pass/type_solver.cc | 2 +-
tests/cpp/relay_pass_type_infer_test.cc | 2 +-
21 files changed, 559 insertions(+), 333 deletions(-)
create mode 100644 include/tvm/ir/adt.h
create mode 100644 include/tvm/ir/expr.h
create mode 100644 src/ir/adt.cc
copy src/{lang/lowered_func.cc => ir/expr.cc} (57%)