You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by jw...@apache.org on 2021/03/12 01:54:51 UTC

[tvm] branch main updated (e9e014b -> 68b81ad)

This is an automated email from the ASF dual-hosted git repository.

jwfromm pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git.


    from e9e014b  [Relay][QNN] Simulated Quantize and Dequantize (#7613)
     add 68b81ad  Introduce Apple BNNS backend (#7299)

No new revisions were added by this update.

Summary of changes:
 CMakeLists.txt                                     |   2 +
 cmake/config.cmake                                 |   3 +
 .../contrib/{Verilator.cmake => BNNS.cmake}        |  16 +-
 docs/deploy/bnns.rst                               | 183 +++++++
 docs/deploy/index.rst                              |   1 +
 python/tvm/driver/tvmc/composite_target.py         |   5 +
 python/tvm/relay/op/contrib/__init__.py            |   1 +
 python/tvm/relay/op/contrib/bnns.py                | 327 ++++++++++++
 src/relay/backend/contrib/bnns/codegen.cc          | 215 ++++++++
 src/runtime/contrib/bnns/bnns_json_runtime.cc      | 573 +++++++++++++++++++++
 src/runtime/contrib/bnns/bnns_wrp.h                | 495 ++++++++++++++++++
 tests/cpp/{packed_func_test.cc => contrib/bnns.cc} |   8 -
 .../python/contrib/test_bnns}/__init__.py          |   2 +-
 .../infrastructure.py                              | 195 ++++---
 tests/python/contrib/test_bnns/test_conv2d.py      | 177 +++++++
 .../contrib/test_bnns/test_conv2d_patterns.py      | 107 ++++
 tests/python/contrib/test_bnns/test_dense.py       | 190 +++++++
 tests/python/contrib/test_bnns/test_matmul.py      | 113 ++++
 .../python/contrib/test_bnns/test_normalization.py | 201 ++++++++
 .../contrib/test_bnns/test_onnx_topologies.py      | 140 +++++
 tests/python/contrib/test_bnns/test_pooling.py     | 289 +++++++++++
 21 files changed, 3144 insertions(+), 99 deletions(-)
 copy cmake/modules/contrib/{Verilator.cmake => BNNS.cmake} (61%)
 create mode 100644 docs/deploy/bnns.rst
 create mode 100644 python/tvm/relay/op/contrib/bnns.py
 create mode 100644 src/relay/backend/contrib/bnns/codegen.cc
 create mode 100644 src/runtime/contrib/bnns/bnns_json_runtime.cc
 create mode 100644 src/runtime/contrib/bnns/bnns_wrp.h
 copy tests/cpp/{packed_func_test.cc => contrib/bnns.cc} (97%)
 copy {python/tvm/_ffi/_cy3 => tests/python/contrib/test_bnns}/__init__.py (95%)
 copy tests/python/contrib/{test_arm_compute_lib => test_bnns}/infrastructure.py (63%)
 create mode 100644 tests/python/contrib/test_bnns/test_conv2d.py
 create mode 100644 tests/python/contrib/test_bnns/test_conv2d_patterns.py
 create mode 100644 tests/python/contrib/test_bnns/test_dense.py
 create mode 100644 tests/python/contrib/test_bnns/test_matmul.py
 create mode 100644 tests/python/contrib/test_bnns/test_normalization.py
 create mode 100644 tests/python/contrib/test_bnns/test_onnx_topologies.py
 create mode 100644 tests/python/contrib/test_bnns/test_pooling.py