Merge pull request #22666 from zihaomu:support_onnx_qdq_model
authorZihao Mu <zihaomu@outlook.com>
Mon, 31 Oct 2022 16:06:31 +0000 (00:06 +0800)
committerGitHub <noreply@github.com>
Mon, 31 Oct 2022 16:06:31 +0000 (16:06 +0000)
commit903bf0147e49ab9d370926627f384df533d49603
tree1799e88bc5ebf1dae3053897795430ebc795ccbe
parent540aa13300b2aede45d328a228f79fb26ad1a5cd
Merge pull request #22666 from zihaomu:support_onnx_qdq_model

DNN: let Quant and Dequant of ONNX_importer support the Constant input.

* let Quant and Dequant support the Constant input.

* fix negative value of axis.
modules/dnn/include/opencv2/dnn/all_layers.hpp
modules/dnn/src/int8layers/quantization_utils.cpp
modules/dnn/src/onnx/onnx_importer.cpp
modules/dnn/test/test_onnx_importer.cpp