This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a change to branch nightly
in repository https://gitbox.apache.org/repos/asf/tvm.git
from 62a5e7acf5 [Relay] Improve the "clip" op optimization in simplify expr
pass (#15068)
add 317ec5209c [Docker] Update ci-cortexm docker image to contain CMSIS-NN
release v… (#15092)
add 90b5acca59 [Bugfix][Relay][Keras] Fix the wrong implementation logic
about cropping2D (#15053)
add 02136b393d [Target][rocm] Replace rocm arch parsing from int to string
(#15088)
add e6c9d69aaf [QNN] Implement quantized avg_pool2d (#15057)
add dd6fcccc45 [TIR] Update primfunc host attachment to include host
(#15102)
add 6ef22f5631 [AOT] Avoid Var-to-Var Let binding in AOTExecutorCodegen
(#15033)
add 0c09547c76 [TIR][CodeGen] Define PackedFunc error code in
MakePackedAPI (#15076)
add d05715daed [TIR][TVMScript] Convert tir.op operands to PrimExpr
(#15091)
No new revisions were added by this update.
Summary of changes:
ci/jenkins/docker-images.ini | 2 +-
python/tvm/relay/frontend/keras.py | 10 +-
python/tvm/relay/qnn/op/_qnn.py | 3 +
python/tvm/relay/qnn/op/layout_conversions.py | 35 ++
python/tvm/relay/qnn/op/qnn.py | 66 +++
python/tvm/relay/qnn/strategy/generic.py | 39 ++
python/tvm/relay/qnn/strategy/hexagon.py | 24 +
.../transform/fake_quantization_to_integer.py | 57 +-
python/tvm/tir/op.py | 38 ++
python/tvm/topi/hexagon/compute_poolarea.py | 143 +++++
python/tvm/topi/hexagon/qnn/__init__.py | 2 +-
python/tvm/topi/hexagon/qnn/avg_pool2d.py | 408 +++++++++++----
python/tvm/topi/hexagon/qnn/nn.py | 47 +-
python/tvm/topi/hexagon/slice_ops/__init__.py | 2 +-
python/tvm/topi/hexagon/slice_ops/avg_pool2d.py | 224 +++++---
python/tvm/topi/hexagon/utils.py | 65 ++-
src/relay/backend/aot_executor_codegen.cc | 29 +-
src/relay/op/nn/pooling.cc | 38 +-
src/relay/op/nn/pooling.h | 4 +-
src/relay/op/nn/pooling_common.h | 78 +++
src/relay/qnn/op/avg_pool2d.cc | 223 ++++++++
src/target/source/codegen_c.cc | 6 +-
src/target/source/codegen_c.h | 4 -
src/target/source/codegen_c_host.cc | 5 -
src/target/source/codegen_c_host.h | 1 -
src/target/stackvm/codegen_stackvm.cc | 6 +
src/target/target_kind.cc | 30 +-
src/tir/transforms/make_packed_api.cc | 9 +-
src/tir/transforms/make_unpacked_api.cc | 4 +-
src/tir/transforms/primfunc_utils.cc | 3 +-
.../test_hexagon/test_qnn_op_integration.py | 576 +++++++++++++++++++++
.../test_hexagon/test_wo_qnn_canonicalization.py | 475 -----------------
.../topi/slice_op/test_avg_pool2d_slice.py | 412 +++++++--------
tests/python/frontend/keras/test_forward.py | 10 +-
tests/python/unittest/test_tir_host_func.py | 3 +-
.../test_tir_transform_lower_tvm_builtin.py | 9 +-
.../unittest/test_tir_transform_make_packed_api.py | 15 +-
.../test_tir_transform_make_unpacked_api.py | 6 +
tests/python/unittest/test_tvmscript_roundtrip.py | 58 +++
39 files changed, 2177 insertions(+), 992 deletions(-)
create mode 100644 python/tvm/topi/hexagon/compute_poolarea.py
create mode 100644 src/relay/op/nn/pooling_common.h
create mode 100644 src/relay/qnn/op/avg_pool2d.cc
create mode 100644 tests/python/contrib/test_hexagon/test_qnn_op_integration.py
delete mode 100644
tests/python/contrib/test_hexagon/test_wo_qnn_canonicalization.py