You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by ma...@apache.org on 2021/09/24 20:19:28 UTC
[tvm] branch main updated (8a62f10 -> 5871608)
This is an automated email from the ASF dual-hosted git repository.
masahi pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git.
from 8a62f10 [TFLite] Fix padding calculation in Transpose Conv (#9089)
add 5871608 [Relay] Prepare for merging context_analysis.cc and device_annotation.cc (#9077)
No new revisions were added by this update.
Summary of changes:
include/tvm/relay/attrs/annotation.h | 28 ++++-
include/tvm/relay/attrs/device_copy.h | 1 +
include/tvm/relay/attrs/function.h | 66 ++++++++++
include/tvm/relay/expr_functor.h | 3 +-
include/tvm/relay/transform.h | 4 +-
include/tvm/runtime/container/array.h | 2 +-
include/tvm/runtime/ndarray.h | 26 ++--
python/tvm/relay/op/annotation/annotation.py | 56 +++++++--
python/tvm/relay/transform/transform.py | 2 +-
python/tvm/target/target.py | 8 +-
src/node/structural_equal.cc | 7 +-
src/relay/backend/te_compiler.cc | 8 +-
src/relay/backend/vm/inline_primitives.cc | 4 +-
src/relay/op/annotation/annotation.cc | 136 +++++++++++++++++++--
src/relay/op/annotation/annotation.h | 116 ++++++++++++++++++
src/relay/op/memory/device_copy.cc | 117 ++++++++++++++++++
src/relay/op/memory/device_copy.h | 79 ++++++++++++
src/relay/op/memory/memory.cc | 44 ++-----
src/relay/op/memory/memory.h | 1 -
src/relay/quantize/partition.cc | 2 +-
src/relay/quantize/realize.cc | 2 +-
src/relay/transforms/device_annotation.cc | 2 +-
src/relay/transforms/memory_alloc.cc | 14 ++-
src/runtime/ndarray.cc | 4 +-
src/tir/analysis/verify_memory.cc | 5 +-
.../python/relay/op/annotation/test_annotation.py | 71 +++++++++++
26 files changed, 709 insertions(+), 99 deletions(-)
create mode 100644 include/tvm/relay/attrs/function.h
create mode 100644 src/relay/op/annotation/annotation.h
create mode 100644 src/relay/op/memory/device_copy.cc
create mode 100644 src/relay/op/memory/device_copy.h
create mode 100644 tests/python/relay/op/annotation/test_annotation.py