Skip to content

Commit

Permalink
Add support for quant. mul operator in tflite frontend
Browse files Browse the repository at this point in the history
A test for qnn_mul has to be added when the qnn elemwise tests (apache#4282) get merged.
  • Loading branch information
inadob committed Nov 8, 2019
1 parent 281f643 commit 83eb895
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/tvm/relay/frontend/tflite.py
Original file line number Diff line number Diff line change
Expand Up @@ -574,8 +574,7 @@ def convert_mul(self, op):
"""Convert TFLite MUL"""
# Check if the input tensor is quantized, call QNN op
if self.is_quantized(op):
raise tvm.error.OpNotImplemented(
'TFlite quantized mul operator is not supported yet.')
return self._convert_elemwise(_qnn.op.mul, op)
return self._convert_elemwise(_op.multiply, op)

def convert_div(self, op):
Expand Down

0 comments on commit 83eb895

Please sign in to comment.