lixiaoquan commented on a change in pull request #6024:
URL: https://github.com/apache/incubator-tvm/pull/6024#discussion_r469071731



##########
File path: python/tvm/relay/frontend/tensorflow.py
##########
@@ -1458,6 +1458,15 @@ def _impl(inputs, attr, params, mod):
 
                 return ret
 
+        def _dyn():
+            for d in data_shape:
+                if not isinstance(d, int):
+                    return True
+            return False
+
+        if _dyn():

Review comment:
       Because mask transformation needs a concrete shape which doesn't work 
for dynamic shape input. I think there is more to do to handle mask in dynamic 
case but I'm afraid it can't support all mask transformation without concrete 
shape.




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to