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 3cb0e93 [Fix] Fix a typo in include/tvm/ir/function.h (#8617)
add 38fe522 [Relay][Quantization] Extend FakeQuantizationToInteger to
more ops (#8241)
No new revisions were added by this update.
Summary of changes:
include/tvm/ir/affine_type.h | 146 ++++++++++
python/tvm/ir/__init__.py | 1 +
python/tvm/ir/affine_type.py | 69 +++++
python/tvm/relay/frontend/onnx.py | 2 +-
.../transform/fake_quantization_to_integer.py | 200 ++++++++++++--
src/ir/affine_type.cc | 80 ++++++
src/relay/qnn/op/quantize.cc | 16 +-
src/relay/qnn/op/requantize.cc | 16 +-
.../transforms/fake_quantization_to_integer.cc | 109 +++-----
tests/python/relay/test_op_qnn_quantize.py | 15 ++
tests/python/relay/test_op_qnn_requantize.py | 19 ++
.../test_pass_fake_quantization_to_integer.py | 295 +++++++++++++--------
12 files changed, 759 insertions(+), 209 deletions(-)
create mode 100644 include/tvm/ir/affine_type.h
create mode 100644 python/tvm/ir/affine_type.py
create mode 100644 src/ir/affine_type.cc