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 00:56:26 UTC

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

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

 ##########
 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:
   could you explain the code block here? if stridedslice need to be handled specifically, not sure if some other ops like slicelike, arange also need it.

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