jcf94 commented on a change in pull request #7173:
URL: https://github.com/apache/tvm/pull/7173#discussion_r549539994



##########
File path: python/tvm/auto_scheduler/relay_integration.py
##########
@@ -251,6 +273,9 @@ def auto_schedule_topi(outs, has_complex_op):
     from tvm import relay
 
     io_tensors, has_layout_free = traverse_to_get_io_tensors(outs)
+    if not io_tensors:  # The compute includes dynamic shapes which are not 
supported yet.
+        return None

Review comment:
       Suggest to add comment to L214-215:
   ```python
   """
       ...
       io_tensors: List[Tensor]
           The input and output tensors with static 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:
[email protected]


Reply via email to