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

[Unity] Improved error message for matmul shape mismatch #16308

Merged

Conversation

Lunderberg
Copy link
Contributor

If a matrix multiplication cannot be performed due to incompatible shapes, the error message now specifies the arguments, the shape of each argument, and which dimension of the shape has a mismatch. Previously, this error message only provided the dimension of the mismatch.

If a matrix multiplication cannot be performed due to incompatible
shapes, the error message now specifies the arguments, the shape of
each argument, and which dimension of the shape has a mismatch.
Previously, this error message only provided the dimension of the
mismatch.
Copy link
Contributor

@slyubomirsky slyubomirsky left a comment

Choose a reason for hiding this comment

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

I'm always happy to see improvements to error messages 👍

@Lunderberg Lunderberg merged commit ef2a913 into apache:unity Jan 8, 2024
15 checks passed
@Lunderberg Lunderberg deleted the unity_improved_error_message_matmul branch January 8, 2024 22:05
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.

2 participants