This is an automated email from the ASF dual-hosted git repository.
andrewzhaoluo pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git.
from 1571112 [USMP] Register hill climb algorithm (#10182)
add 5e4e239 [QNN] Lookup operations for hard to implement operators
(#10053)
No new revisions were added by this update.
Summary of changes:
python/tvm/relay/qnn/op/__init__.py | 4 +-
python/tvm/relay/qnn/op/canonicalizations.py | 160 ++++++++++++++
python/tvm/relay/qnn/op/legalizations.py | 20 +-
python/tvm/relay/qnn/op/op.py | 25 ++-
.../transform/fake_quantization_to_integer.py | 4 +
src/relay/op/tensor/transform.cc | 3 +-
src/relay/qnn/op/rsqrt.cc | 42 +---
tests/python/relay/qnn/test_canonicalizations.py | 231 +++++++++++++++++++++
tests/python/relay/test_op_level3.py | 9 +-
tests/python/relay/test_op_qnn_rsqrt.py | 4 +-
.../test_pass_fake_quantization_to_integer.py | 11 +-
tests/python/topi/python/test_topi_transform.py | 17 +-
12 files changed, 461 insertions(+), 69 deletions(-)
create mode 100644 python/tvm/relay/qnn/op/canonicalizations.py
create mode 100644 tests/python/relay/qnn/test_canonicalizations.py