tvm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-tvm] maheshambule commented on a change in pull request #4952: [Frontend] [Tensorflow] ReadVariableOp operator support
Date Mon, 02 Mar 2020 16:37:12 GMT
maheshambule commented on a change in pull request #4952: [Frontend] [Tensorflow] ReadVariableOp
operator support
URL: https://github.com/apache/incubator-tvm/pull/4952#discussion_r386507363
 
 

 ##########
 File path: python/tvm/relay/frontend/tensorflow.py
 ##########
 @@ -2187,6 +2187,14 @@ def from_tensorflow(self, graph, layout="NHWC", shape=None, outputs=None):
         missing_operators = self._parse_import_prerequisites(graph)
 
         if missing_operators:
+            # TODO: ReadVariableOp gets removed when graph is frozen.
+            # Add list of other operators as well which get removed
+            # and are not needed for inference.
+            # Other approach is instead of raising error, we can freeze the graph.
+            if 'ReadVariableOp' in missing_operators:
 
 Review comment:
   Added  other operators as well

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