You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by gi...@apache.org on 2023/01/14 05:02:38 UTC
[tvm] branch nightly updated (f9759920e0 -> c452e6966c)
This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a change to branch nightly
in repository https://gitbox.apache.org/repos/asf/tvm.git
from f9759920e0 [UnitTest] Parametrized test_arith_iter_affine_map::test_padding (#13774)
add 60c723ec26 [ETHOSN] Remove support for NPU driver 22.08 (#13763)
add c452e6966c [TVMScript] IR Fragment Printing (#13742)
No new revisions were added by this update.
Summary of changes:
include/tvm/runtime/data_type.h | 2 +-
include/tvm/script/printer/ir_docsifier.h | 12 +-
include/tvm/script/printer/printer.h | 17 +-
include/tvm/tir/expr.h | 3 +
python/tvm/relay/op/contrib/ethosn.py | 2 +-
python/tvm/script/ir_builder/tir/ir.py | 8 +-
python/tvm/script/printer/__init__.py | 1 +
python/tvm/script/printer/default.py | 83 +++
python/tvm/script/printer/printer.py | 14 +-
src/auto_scheduler/compute_dag.cc | 27 +-
src/ir/expr.cc | 35 --
src/ir/type.cc | 28 -
src/runtime/contrib/ethosn/ethosn_device.cc | 80 +--
src/runtime/contrib/ethosn/ethosn_device.h | 6 -
src/runtime/contrib/ethosn/ethosn_runtime.cc | 12 -
src/runtime/contrib/ethosn/ethosn_runtime.h | 11 +-
.../printer/doc_printer/python_doc_printer.cc | 18 +-
src/script/printer/ir_docsifier.cc | 11 +-
src/script/printer/printer.cc | 22 +-
src/script/printer/tir/block.cc | 42 +-
src/script/printer/tir/buffer.cc | 144 +++--
src/script/printer/tir/expr.cc | 94 +--
src/script/printer/tir/for_loop.cc | 16 +-
src/script/printer/tir/function.cc | 17 +-
src/script/printer/tir/ir.cc | 42 +-
src/script/printer/tir/stmt.cc | 53 +-
src/script/printer/tir/utils.h | 55 +-
src/tir/ir/buffer.cc | 6 -
src/tir/ir/expr.cc | 351 ------------
src/tir/ir/function.cc | 15 -
src/tir/ir/index_map.cc | 3 +-
src/tir/ir/legacy_printer.cc | 270 +++++++++
src/tir/ir/stmt.cc | 403 -------------
src/tir/transforms/common_subexpr_elim.cc | 4 +-
src/tir/transforms/common_subexpr_elim_tools.cc | 4 +-
tests/cpp/expr_test.cc | 2 +-
tests/python/contrib/test_ethosn/test_conv2d.py | 6 +-
.../python/contrib/test_ethosn/test_leaky_relu.py | 6 +-
tests/python/driver/tvmc/test_shape_parser.py | 5 +-
tests/python/relay/aot/test_c_device_api.py | 33 +-
tests/python/relay/aot/test_crt_aot.py | 35 +-
.../test_tvmscript_printer_python_doc_printer.py | 3 +-
.../python/unittest/test_tvmscript_printer_tir.py | 638 +++++++++++++++++++++
.../unittest/test_tvmscript_printer_underlining.py | 12 +-
vta/python/vta/transform.py | 2 +-
45 files changed, 1430 insertions(+), 1223 deletions(-)
create mode 100644 python/tvm/script/printer/default.py
create mode 100644 src/tir/ir/legacy_printer.cc
create mode 100644 tests/python/unittest/test_tvmscript_printer_tir.py