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/12/01 07:33:35 UTC
[tvm] branch main updated (3047709 -> 9ada371)
This is an automated email from the ASF dual-hosted git repository.
manupa pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git.
from 3047709 [Relay] Use LowerTEPass in VM (#9483)
add 9ada371 [microNPU] Add the infrastructure for lookup table and TANH (#9547)
No new revisions were added by this update.
Summary of changes:
python/tvm/relay/backend/contrib/ethosu/codegen.py | 110 +++++++++++++
.../tvm/relay/backend/contrib/ethosu/legalize.py | 72 +++++++++
.../relay/backend/contrib/ethosu/op/op_attrs.py | 30 ++--
.../relay/backend/contrib/ethosu/te/convolution.py | 9 +-
.../relay/backend/contrib/ethosu/te/depthwise.py | 9 +-
.../relay/backend/contrib/ethosu/te/identity.py | 13 +-
.../tvm/relay/backend/contrib/ethosu/te/pooling.py | 11 +-
.../backend/contrib/ethosu/tir/convolution.py | 2 +-
.../relay/backend/contrib/ethosu/tir/identity.py | 7 +-
.../relay/backend/contrib/ethosu/tir/pooling.py | 11 +-
.../relay/backend/contrib/ethosu/tir/scheduler.py | 46 +++++-
.../backend/contrib/ethosu/tir_to_cs_translator.py | 49 +++++-
python/tvm/relay/op/contrib/ethosu.py | 30 ++++
tests/python/contrib/test_ethosu/infra.py | 3 +-
tests/python/contrib/test_ethosu/test_codegen.py | 67 ++++++++
tests/python/contrib/test_ethosu/test_legalize.py | 54 ++++++-
.../contrib/test_ethosu/test_lookup_table.py | 179 +++++++++++++++++++++
.../contrib/test_ethosu/test_lut_optimizer.py | 95 +++++++++++
.../contrib/test_ethosu/test_replace_conv2d.py | 38 +++--
.../test_ethosu/test_replace_depthwise_conv2d.py | 2 +-
tests/python/contrib/test_ethosu/test_scheduler.py | 28 +++-
21 files changed, 813 insertions(+), 52 deletions(-)
copy docker/install/ubuntu_install_darknet.sh => python/tvm/relay/backend/contrib/ethosu/op/op_attrs.py (54%)
mode change 100755 => 100644
create mode 100644 tests/python/contrib/test_ethosu/test_lookup_table.py
create mode 100644 tests/python/contrib/test_ethosu/test_lut_optimizer.py