[QNN] Conv2D type checking for kernel per-channel scales. (#4732)
authorAnimesh Jain <anijain@umich.edu>
Fri, 17 Jan 2020 17:49:07 +0000 (09:49 -0800)
committerZhi <5145158+zhiics@users.noreply.github.com>
Fri, 17 Jan 2020 17:49:06 +0000 (09:49 -0800)
commita5bb789a7b22957fafd1f91e4f7a4da5dc761ec4
tree6e0edf0eb5d6760537613c07014cffcedea1a80e
parent03ffb01c92cf032d066b47697118707f3883a623
[QNN] Conv2D type checking for kernel per-channel scales. (#4732)

* [QNN] Conv2D type checking for kernel per-channel scales.

* Address commments.

* Address comments.

* - Adding safety checks for downcasts.

Co-authored-by: shoubhik <shoubhikbhatti@gmail.com>
src/relay/qnn/op/convolution.cc
src/relay/qnn/util.h
tests/python/relay/test_op_qnn_conv2d.py