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 2021/12/06 19:15:25 UTC

[GitHub] [tvm] junrushao1994 commented on a change in pull request #9620: [TVMScript] Add for loop syntax sugar

junrushao1994 commented on a change in pull request #9620:
URL: https://github.com/apache/tvm/pull/9620#discussion_r763306526



##########
File path: python/tvm/script/tir/__init__.pyi
##########
@@ -319,28 +319,28 @@ Scope handler - Loops
 
 def serial(
     begin: Union[PrimExpr, int],
-    end: Union[PrimExpr, int],
+    end: Union[PrimExpr, int] = None,

Review comment:
       Could we use overload to make it more clear?




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

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org