You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by ar...@apache.org on 2021/09/16 15:24:03 UTC
[tvm] branch main updated (02fbaf0 -> be37923)
This is an automated email from the ASF dual-hosted git repository.
areusch pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git.
from 02fbaf0 [Onnx] Fix NLL Loss tests (#8971)
add be37923 Implementation of relay_to_tir target hook (#8423)
No new revisions were added by this update.
Summary of changes:
CMakeLists.txt | 1 +
.../{HybridDump.cmake => ExampleTargetHooks.cmake} | 5 +-
include/tvm/relay/transform.h | 7 ++
.../contrib/example_target_hooks/relay_to_tir.cc | 131 +++++++++++++++++++++
src/relay/backend/te_compiler.cc | 35 ++++--
src/relay/transforms/target_hooks.cc | 86 ++++++++++++++
tests/python/relay/test_target_hooks.py | 53 +++++++++
7 files changed, 306 insertions(+), 12 deletions(-)
copy cmake/modules/contrib/{HybridDump.cmake => ExampleTargetHooks.cmake} (83%)
create mode 100644 src/relay/backend/contrib/example_target_hooks/relay_to_tir.cc
create mode 100644 src/relay/transforms/target_hooks.cc
create mode 100644 tests/python/relay/test_target_hooks.py