-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TVMScript] Add for loop syntax sugar #9620
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please also update type stubs and fix the CI error
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Let's improve the printer in a subsequent PR |
@shingjan the other PR is merged, please rebase this one |
f9bcd49
to
8fe3031
Compare
@vinx13 this PR is rebased |
* add for loop syntax sugar * remove prints * better doc * finish thread binding * fix CI * fix CI * address comments * update sstub * fix CI * remove failed test * update stub * address comments * add decorator
* add for loop syntax sugar * remove prints * better doc * finish thread binding * fix CI * fix CI * address comments * update sstub * fix CI * remove failed test * update stub * address comments * add decorator
* add for loop syntax sugar * remove prints * better doc * finish thread binding * fix CI * fix CI * address comments * update sstub * fix CI * remove failed test * update stub * address comments * add decorator
* add for loop syntax sugar * remove prints * better doc * finish thread binding * fix CI * fix CI * address comments * update sstub * fix CI * remove failed test * update stub * address comments * add decorator
* add for loop syntax sugar * remove prints * better doc * finish thread binding * fix CI * fix CI * address comments * update sstub * fix CI * remove failed test * update stub * address comments * add decorator
* add for loop syntax sugar * remove prints * better doc * finish thread binding * fix CI * fix CI * address comments * update sstub * fix CI * remove failed test * update stub * address comments * add decorator
This PR intends to add syntax sugar for For loop scope handler in TIR.
Before this PR:
After this PR, note that the starting 0 can be omitted:
cc: @vinx13 @junrushao1994 @Hzfengsy