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 2019/11/09 05:14:02 UTC

[GitHub] [incubator-tvm] wweic commented on a change in pull request #4287: [TF][Relay][Op] Pass module when infer shape

wweic commented on a change in pull request #4287: [TF][Relay][Op] Pass module when infer shape
URL: https://github.com/apache/incubator-tvm/pull/4287#discussion_r344429675
 
 

 ##########
 File path: python/tvm/relay/frontend/tensorflow.py
 ##########
 @@ -90,6 +90,12 @@ def _get_list_param(params, input_node):
 def _get_tuple_param(params, input_node):
     return tuple(_get_param(params, input_node))
 
+def _need_module_for_shape_inference(op):
+    return op in ['StridedSlice']
 
 Review comment:
   Any operator that calls `_infer_shape` in the converter should be added here. `StridedSlice` calls `_infer_shape` so it needs to be added here.

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