tvm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-tvm] siju-samuel commented on a change in pull request #5330: [Frontend][TFLite] support for FILL and SPLIT_V operators
Date Tue, 14 Apr 2020 11:59:26 GMT
siju-samuel commented on a change in pull request #5330: [Frontend][TFLite] support for FILL
and SPLIT_V operators
URL: https://github.com/apache/incubator-tvm/pull/5330#discussion_r408069942
 
 

 ##########
 File path: python/tvm/relay/frontend/tflite.py
 ##########
 @@ -1488,6 +1511,42 @@ def convert_split(self, op):
 
         return out
 
+    def convert_split_v(self, op):
+        """SPLIT_V implementation."""
+        try:
+            from tflite.Operator import Operator
+        except ImportError:
+            raise ImportError("The tflite package must be installed")
+
+        assert isinstance(op, Operator)
+        input_tensors = self.get_input_tensors(op)
+
+        assert len(input_tensors) == 3, "input tensors length should be == 3"
 
 Review comment:
   rephrase to -> input tensors length should be 3

----------------------------------------------------------------
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

Mime
View raw message