Improve the lowering of Qnn Dense (#4213)
authorshoubhik <shoubhikbhatti@gmail.com>
Wed, 30 Oct 2019 16:12:14 +0000 (09:12 -0700)
committerZhi <5145158+zhiics@users.noreply.github.com>
Wed, 30 Oct 2019 16:12:14 +0000 (09:12 -0700)
commit2be444f905af7df53a0828b10885e0fb637f5160
treee419e899cfb2a93a071db49e400c028767f5e477
parent50e4aa0dd409c0d4aef3e2a578630e6614bc0626
Improve the lowering of Qnn Dense (#4213)

* [QNN] Improving Dense lowering.

* - Moving get_shape method to util
- Finalizing the test cases and the code structure for optimized dense computation.

* - Fixing cpplint.

* - Addressing review comments.

* - Renaming the variables correctly.

* - Renaming the variables correctly.
include/tvm/relay/qnn/attrs.h
python/tvm/relay/qnn/op/op_attrs.py
src/relay/qnn/op/convolution.cc
src/relay/qnn/op/dense.cc
src/relay/qnn/util.h
tests/python/relay/test_op_qnn_dense.py [moved from tests/python/relay/test_qnn_dense.py with 95% similarity]