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/03/28 23:53:14 UTC
[incubator-tvm] branch master updated (997a14e -> 497d01d)
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 997a14e [NODE][IR] Introduce StructuralEqual Infra for the unified IR. (#5154)
add 497d01d [NODE][IR] Introduce StructuralHash for the Unified IR. (#5160)
No new revisions were added by this update.
Summary of changes:
include/tvm/ir/adt.h | 11 +
include/tvm/ir/attrs.h | 26 ++
include/tvm/ir/env_func.h | 9 +-
include/tvm/ir/expr.h | 22 ++
include/tvm/ir/module.h | 3 +
include/tvm/ir/op.h | 5 +
include/tvm/ir/tensor_type.h | 5 +
include/tvm/ir/type.h | 38 +++
include/tvm/ir/type_relation.h | 12 +
include/tvm/node/node.h | 1 +
include/tvm/node/reflection.h | 59 ++++-
include/tvm/node/structural_hash.h | 224 ++++++++++++++++
include/tvm/relay/adt.h | 30 +++
include/tvm/relay/expr.h | 62 +++++
include/tvm/relay/function.h | 9 +
include/tvm/runtime/container.h | 32 ++-
include/tvm/runtime/object.h | 1 +
include/tvm/tir/buffer.h | 12 +
include/tvm/tir/expr.h | 122 +++++++++
include/tvm/tir/function.h | 8 +-
include/tvm/tir/stmt.h | 92 +++++++
python/tvm/ir/__init__.py | 2 +-
python/tvm/ir/base.py | 51 +++-
src/ir/module.cc | 32 ++-
src/node/container.cc | 100 ++++++++
src/node/structural_equal.cc | 4 +-
src/node/structural_hash.cc | 283 +++++++++++++++++++++
...l_equal.py => test_ir_structural_equal_hash.py} | 220 ++++++++--------
..._equal.py => test_tir_structural_equal_hash.py} | 86 +++++--
29 files changed, 1407 insertions(+), 154 deletions(-)
create mode 100644 include/tvm/node/structural_hash.h
create mode 100644 src/node/structural_hash.cc
rename tests/python/relay/{test_ir_structural_equal.py => test_ir_structural_equal_hash.py} (80%)
rename tests/python/unittest/{test_tir_structural_equal.py => test_tir_structural_equal_hash.py} (50%)