[QNN][Relay] Fixed bug in quantized conv2d. (#6420)
authorRishabh Jain <56974688+jainris@users.noreply.github.com>
Thu, 10 Sep 2020 17:33:11 +0000 (23:03 +0530)
committerGitHub <noreply@github.com>
Thu, 10 Sep 2020 17:33:11 +0000 (10:33 -0700)
commitaeef16d2857fc00ab83ba28476281e99a0a78e0c
treeafad27877331a82718b92eea983356bb12cabed0
parentb81bdee8ebd1a9b53781b5e3b38694cc40507ac8
[QNN][Relay] Fixed bug in quantized conv2d. (#6420)

* Fixed bug in quantized conv2d where when kernel size = (1,1)
  and strides != (1,1) it would raise size mismatch error.
* Added test to check qnn.conv2d with kernel size = (1,1) and
  strides != (1,1).
src/relay/qnn/op/convolution.cc
tests/python/relay/test_op_qnn_conv2d.py