This is an automated email from the ASF dual-hosted git repository.
masahi pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git.
from 017ff94 [TOPI] Sparse Add Op added (#7435)
add e9e014b [Relay][QNN] Simulated Quantize and Dequantize (#7613)
No new revisions were added by this update.
Summary of changes:
include/tvm/relay/qnn/attrs.h | 12 ++
python/tvm/relay/qnn/op/__init__.py | 2 +-
python/tvm/relay/qnn/op/_qnn.py | 52 ++++++
python/tvm/relay/qnn/op/qnn.py | 72 +++++++-
python/tvm/topi/nn/__init__.py | 1 +
python/tvm/topi/nn/qnn.py | 190 +++++++++++++++++++++
src/relay/qnn/op/dequantize.cc | 9 +-
src/relay/qnn/op/quantize.cc | 13 +-
src/relay/qnn/op/simulated_dequantize.cc | 80 +++++++++
src/relay/qnn/op/simulated_quantize.cc | 82 +++++++++
tests/python/relay/test_op_qnn_dequantize.py | 2 +-
tests/python/relay/test_op_qnn_quantize.py | 2 +-
.../relay/test_op_qnn_simulated_dequantize.py | 177 +++++++++++++++++++
.../python/relay/test_op_qnn_simulated_quantize.py | 178 +++++++++++++++++++
tests/python/topi/python/test_topi_qnn.py | 157 +++++++++++++++++
15 files changed, 1019 insertions(+), 10 deletions(-)
create mode 100644 python/tvm/relay/qnn/op/_qnn.py
create mode 100644 python/tvm/topi/nn/qnn.py
create mode 100644 src/relay/qnn/op/simulated_dequantize.cc
create mode 100644 src/relay/qnn/op/simulated_quantize.cc
create mode 100644 tests/python/relay/test_op_qnn_simulated_dequantize.py
create mode 100644 tests/python/relay/test_op_qnn_simulated_quantize.py
create mode 100644 tests/python/topi/python/test_topi_qnn.py