[Relay][QNN] QNNtoRelay & QNNLegalize Pass utility using Relay Legalize API. (#3838)
authorAnimesh Jain <anijain@umich.edu>
Fri, 30 Aug 2019 16:10:25 +0000 (09:10 -0700)
committerZhi <5145158+zhiics@users.noreply.github.com>
Fri, 30 Aug 2019 16:10:25 +0000 (09:10 -0700)
commit671421a8056c39baa390a2aa9a9e84d624ac4dc4
treefc399ad5829276a5d0e051144f1bd837b04a7d54
parenta5def36f55bf45c6e1492769a45fae71958a5478
[Relay][QNN] QNNtoRelay & QNNLegalize Pass utility using Relay Legalize API. (#3838)
16 files changed:
include/tvm/relay/transform.h
python/tvm/relay/qnn/__init__.py
python/tvm/relay/qnn/op/__init__.py
python/tvm/relay/qnn/op/op.py [new file with mode: 0644]
python/tvm/relay/qnn/transform.py [new file with mode: 0644]
python/tvm/relay/transform.py
src/relay/pass/legalize.cc
src/relay/qnn/op/dequantize.cc
src/relay/qnn/op/quantize.cc
src/relay/qnn/op/requantize.cc
tests/python/relay/test_pass_legalize.py
tests/python/relay/test_pass_qnn_legalize.py [new file with mode: 0644]
tests/python/relay/test_qnn_concatenate.py
tests/python/relay/test_qnn_dequantize.py
tests/python/relay/test_qnn_quantize.py
tests/python/relay/test_qnn_requantize.py