Skip to content

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
@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