Add support for quantized multiply to Relay (#4141)
authorekalda <elenkalda@gmail.com>
Mon, 21 Oct 2019 14:07:39 +0000 (15:07 +0100)
committerZhi <5145158+zhiics@users.noreply.github.com>
Mon, 21 Oct 2019 14:07:39 +0000 (07:07 -0700)
commite5835425ef8e58142371d2bf67b31ddf9b2b09f4
treeabbafcbd1a3cc10a52cc719c2a882ef186bf901d
parent72dfa60cacfa320db19451f37796feb56aad9ece
Add support for quantized multiply to Relay (#4141)

This patch adds multiply operator for quantized tensors.
The details of the quantized multiplication are outlined
in the code.

This builds on pull request 3927 and includes the changes
Animesh mentions in the comments on that request.

Change-Id: I555715b53d0266a91d5c03dc3dfe8fc31e7ce4e1
python/tvm/relay/qnn/op/qnn.py
src/relay/qnn/op/mul.cc [new file with mode: 0644]
tests/python/relay/test_qnn_mul.py [new file with mode: 0644]