This is an automated email from the ASF dual-hosted git repository. wuwei pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git.
from 2440c9c [Quantization] Make calibration faster and more memory usage friendly (#4589) add 0720ed6 {QNN] Making scale/zero_points as expr instead of attrs. (#4611) No new revisions were added by this update. Summary of changes: include/tvm/relay/qnn/attrs.h | 176 ------------------ python/tvm/relay/frontend/mxnet_qnn_op_utils.py | 13 +- python/tvm/relay/frontend/tflite.py | 50 +++-- python/tvm/relay/qnn/op/__init__.py | 1 - python/tvm/relay/qnn/op/legalizations.py | 46 +++-- python/tvm/relay/qnn/op/op_attrs.py | 28 --- python/tvm/relay/qnn/op/qnn.py | 76 ++++---- .../tvm/relay/util.py | 34 ++-- src/relay/pass/pattern_util.h | 1 + src/relay/qnn/op/add.cc | 30 +-- src/relay/qnn/op/concatenate.cc | 90 ++++++--- src/relay/qnn/op/convolution.cc | 205 ++++++++++++--------- src/relay/qnn/op/dense.cc | 86 +++++---- src/relay/qnn/op/dequantize.cc | 47 +++-- src/relay/qnn/op/mul.cc | 40 ++-- src/relay/qnn/op/op_common.h | 46 +++-- src/relay/qnn/op/quantize.cc | 52 +++--- src/relay/qnn/op/requantize.cc | 62 ++++--- src/relay/qnn/util.h | 33 ++-- tests/python/relay/test_op_qnn_add.py | 72 ++++---- tests/python/relay/test_op_qnn_concatenate.py | 50 +++-- tests/python/relay/test_op_qnn_conv2d.py | 28 +-- tests/python/relay/test_op_qnn_dense.py | 16 +- tests/python/relay/test_op_qnn_dequantize.py | 95 +++++----- tests/python/relay/test_op_qnn_mul.py | 60 +++--- tests/python/relay/test_op_qnn_quantize.py | 82 ++++----- tests/python/relay/test_op_qnn_requantize.py | 8 +- tests/python/relay/test_pass_qnn_legalize.py | 40 ++-- 28 files changed, 756 insertions(+), 811 deletions(-) delete mode 100644 python/tvm/relay/qnn/op/op_attrs.py copy docker/install/ubuntu_install_nnpack.sh => python/tvm/relay/util.py (55%) mode change 100755 => 100644