FrozenGene commented on a change in pull request #5486:
URL: https://github.com/apache/incubator-tvm/pull/5486#discussion_r418114942



##########
File path: python/tvm/relay/frontend/tflite.py
##########
@@ -2357,6 +2371,20 @@ def get_expr(self, input_tensor_idx):
     def has_expr(self, input_tensor_idx):
         return self.exp_tab.has_expr(get_tensor_name(self.subgraph, 
input_tensor_idx))
 
+    def get_tensor_or_const_expr(self, tensor):

Review comment:
       This name is trick. Here, we want to get relay expr and distinguish 
const. However, const is also expr in fact. Maybe we could name it 
`get_tensor_expr`? Do you have any better suggestion?




----------------------------------------------------------------
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:
[email protected]


Reply via email to