You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by ju...@apache.org on 2022/08/16 21:06:37 UTC
[tvm] branch main updated (29ce66eeb4 -> 1a9faeb77e)
This is an automated email from the ASF dual-hosted git repository.
junrushao pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
from 29ce66eeb4 Change tir::GetPointerType to return std::optional<DataType> (#12458)
add 1a9faeb77e [TVMScript] Printer IRDocsifier (#12396)
No new revisions were added by this update.
Summary of changes:
include/tvm/script/printer/ir_docsifier.h | 189 ++++++++++++++++++++
include/tvm/script/printer/traced_object_functor.h | 21 +++
include/tvm/support/with.h | 30 ++++
python/tvm/script/printer/ir_docsifier.py | 198 +++++++++++++++++++++
src/script/printer/ir_docsifier.cc | 76 ++++++++
src/script/printer/traced_object_functor.cc | 10 ++
tests/cpp/tvmscript_printer_irdocsifier_test.cc | 112 ++++++++++++
...tvmscript_printer_traced_object_functor_test.cc | 14 ++
.../unittest/test_tvmscript_printer_irdocsifier.py | 111 ++++++++++++
9 files changed, 761 insertions(+)
create mode 100644 include/tvm/script/printer/ir_docsifier.h
create mode 100644 python/tvm/script/printer/ir_docsifier.py
create mode 100644 src/script/printer/ir_docsifier.cc
create mode 100644 tests/cpp/tvmscript_printer_irdocsifier_test.cc
create mode 100644 tests/python/unittest/test_tvmscript_printer_irdocsifier.py