Skip to content

Conversation

@Lunderberg
Copy link
Contributor

An extension of #15404, which allowed starred expressions in the rhs of assignments (e.g. T.decl_buffer(shape=[*dim, 128])), this PR also enables starred expressions in the lhs of assignments (e.g. for *spatial,reduction in T.grid(*A.shape)).

@tvm-bot
Copy link
Collaborator

tvm-bot commented Jul 31, 2023

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

Generated by tvm-bot

Copy link
Contributor

@kparzysz-quic kparzysz-quic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

An extension of apache#15404, which
allowed starred expressions in the rhs of
assignments (e.g. `T.decl_buffer(shape=[*dim, 128])`), this PR also
enables starred expressions in the lhs of
assignments (e.g. `for *spatial,reduction in T.grid(*A.shape)`).
@Lunderberg Lunderberg force-pushed the tvmscript_starred_assignment branch from 069af6b to 346d2fd Compare August 2, 2023 00:49
@tqchen tqchen merged commit 1b7175b into apache:main Aug 2, 2023
@Lunderberg Lunderberg deleted the tvmscript_starred_assignment branch August 3, 2023 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants