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 2022/07/07 08:40:15 UTC
[tvm] branch last-successful updated (1392e64e0b -> 40d242a3c8)
This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a change to branch last-successful
in repository https://gitbox.apache.org/repos/asf/tvm.git
from 1392e64e0b [Arith] Allow constant values in InverseAffineIterMap (#12026)
add 9f4bf38b57 [TVMScript] Doc Base Class & DocPrinter Scaffolding (#11971)
add 40d242a3c8 [Pytorch] add aten::rnn_tanh, aten::rnn_relu (#12017)
No new revisions were added by this update.
Summary of changes:
CMakeLists.txt | 1 +
include/tvm/script/printer/doc.h | 165 ++++++++++++++++++
.../printer/doc_printer.h} | 32 ++--
python/tvm/relay/frontend/common.py | 40 +++++
python/tvm/relay/frontend/pytorch.py | 189 ++++++++++++++++++++-
.../{relay/_make.py => script/printer/__init__.py} | 11 +-
python/tvm/{arith => script/printer}/_ffi_api.py | 5 +-
python/tvm/script/printer/doc.py | 49 ++++++
.../dense.py => script/printer/doc_printer.py} | 27 ++-
.../script/printer/base_doc_printer.cc | 42 ++---
src/script/printer/base_doc_printer.h | 131 ++++++++++++++
.../printer/doc.cc} | 42 ++---
src/script/printer/python_doc_printer.cc | 70 ++++++++
tests/python/frontend/pytorch/test_rnns.py | 79 +++++++++
.../test_tvmscript_printer_doc.py} | 24 +--
.../test_tvmscript_printer_python_doc_printer.py | 53 ++++++
tests/scripts/task_mypy.sh | 3 +
17 files changed, 871 insertions(+), 92 deletions(-)
create mode 100644 include/tvm/script/printer/doc.h
copy include/tvm/{runtime/executor_info.h => script/printer/doc_printer.h} (60%)
copy python/tvm/{relay/_make.py => script/printer/__init__.py} (77%)
copy python/tvm/{arith => script/printer}/_ffi_api.py (90%)
create mode 100644 python/tvm/script/printer/doc.py
copy python/tvm/{topi/hexagon/dense.py => script/printer/doc_printer.py} (63%)
copy include/tvm/topi/utils.h => src/script/printer/base_doc_printer.cc (57%)
create mode 100644 src/script/printer/base_doc_printer.h
copy src/{tir/transforms/decorate_device_scope.cc => script/printer/doc.cc} (51%)
create mode 100644 src/script/printer/python_doc_printer.cc
copy tests/python/{contrib/test_opencl/conftest.py => unittest/test_tvmscript_printer_doc.py} (64%)
create mode 100644 tests/python/unittest/test_tvmscript_printer_python_doc_printer.py