Skip to content
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

[TOPI] Support symbolic shape in einsum #14521

Merged
merged 2 commits into from
Apr 7, 2023

Conversation

vinx13
Copy link
Member

@vinx13 vinx13 commented Apr 6, 2023

@tvm-bot
Copy link
Collaborator

tvm-bot commented Apr 6, 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.

  • No users to tag found in teams: topi See #10317 for details

Generated by tvm-bot

@github-actions github-actions bot requested a review from jwfromm April 6, 2023 19:24
Copy link
Contributor

@sunggg sunggg left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you for the fix :)

Copy link
Member

@tqchen tqchen left a comment

Choose a reason for hiding this comment

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

LGTM

int64_t extent1_value = GetConstInt(extent1);
int64_t extent2_value = GetConstInt(extent2);
if (extent1_value == extent2_value) {
const IntImmNode* extent1_imm = extent1.as<IntImmNode>();
Copy link
Member

Choose a reason for hiding this comment

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

One minor note for future, would be useful to have common broadcast extent handling in the future

@vinx13 vinx13 merged commit 460374f into apache:main Apr 7, 2023
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.

5 participants