Mxnet parser for Qnn dialect (#4714)
authorshoubhik <shoubhikbhatti@gmail.com>
Wed, 5 Feb 2020 13:27:52 +0000 (05:27 -0800)
committerGitHub <noreply@github.com>
Wed, 5 Feb 2020 13:27:52 +0000 (22:27 +0900)
commit7d263c319f8b0ea17080460433a5974594695b8f
tree4a5308f3222fbf6c412c80181faa32512a711fba
parent3e7bd70375bfb8aefbcee60e746c7d39bd432175
Mxnet parser for Qnn dialect (#4714)

* - Additional util methods needed for mxnet frontend for qnn dialect.

* - Fixing call to quantize.

* [QNN] MxNet-MKLDNN parser support for QNN

* [QNN] Relax conv check.

* - Merge from origin

* [QNN] Channel wise changes

* [QNN] Dense changes

* Dense fix for QNN ops.

* - Removed non-mkl code from utils.

- Small refactoring

- Remove "with_sum" from conv

- Simplified code

* - Fixing ring buffer name.

* - Fixing pylint issues.

* - Fixing lint
- Removing redundant commented code.

* - Adding test cases
- Removing unused methods.

* [WIP] end to end test case for mxnet qnn parser

* Changes to parse large CV models.

* Pylint issues.

* Fix Conv2D with sum and quantized pooling.

* Reverting the changes made for mxnet-mkldnn test cases. Because of #4753, mxnet could not be updated to mxnet-mkldnn.

Co-authored-by: Animesh Jain <anijain@umich.edu>
python/tvm/relay/frontend/__init__.py
python/tvm/relay/frontend/mxnet.py
python/tvm/relay/frontend/mxnet_qnn_op_utils.py
tests/python/frontend/mxnet/test_forward.py
tests/python/frontend/mxnet/test_qnn_ops_utils.py