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

Add more logging information to ReshapeLikeRel #10125

Merged
merged 4 commits into from Feb 2, 2022
Merged

Conversation

Lyken17
Copy link
Contributor

@Lyken17 Lyken17 commented Feb 1, 2022

When there is shape mismatch, current logging only raises error but failed to provide detailed tensor shape information, which makes the bug localization difficult. This PR aims to add tensor_shape information when raising errors.

Copy link
Contributor

@lhutton1 lhutton1 left a comment

Choose a reason for hiding this comment

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

Thanks @Lyken17, lint needs fixing but LGTM otherwise!

@junrushao
Copy link
Member

Overall looks good! Let’s fix the lint and get this PR merged soon!

@Lyken17
Copy link
Contributor Author

Lyken17 commented Feb 2, 2022

@junrushao1994 @lhutton1 Lint error has been fixed. Please have a check.

@junrushao junrushao merged commit 565e6b4 into apache:main Feb 2, 2022
@junrushao
Copy link
Member

Thanks @Lyken17

@Lyken17 Lyken17 deleted the patch-1 branch February 2, 2022 23:09
ylc pushed a commit to ylc/tvm that referenced this pull request Feb 16, 2022
* Update transform.cc

* fix capitalize

* fix lint

* fix lint
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.

None yet

3 participants