You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2020/01/11 14:19:43 UTC

[GitHub] [incubator-tvm] FrozenGene commented on a change in pull request #4652: [Relay][Frontend][TFLite] Add parser support for squared difference

FrozenGene commented on a change in pull request #4652: [Relay][Frontend][TFLite] Add parser support for squared difference
URL: https://github.com/apache/incubator-tvm/pull/4652#discussion_r365523472
 
 

 ##########
 File path: python/tvm/relay/frontend/tflite.py
 ##########
 @@ -628,6 +629,15 @@ def convert_greater(self, op):
                 'TFlite quantized greater operator is not supported yet.')
         return self._convert_elemwise(_op.greater, op)
 
+    def convert_squared_difference(self, op):
+        # Check if the input tensor is quantized, call QNN op
+        if self.is_quantized(op):
+            raise tvm.error.OpNotImplemented(
+                'TFlite quantized greater operator is not supported yet.')
 
 Review comment:
   comment is wrong. Not greater op.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services