-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Reshape does not check that shape change is valid #6210
Comments
I see that the Shape relation function indeed fails to check for a valid reshape. I'm kind of surprised that running it doesn't crash. What value does the 7th element of the output have? |
Doesn't look like the recent dynamic work removed a check, I'll spend some time tomorrow to see if we can add one to the shape relation function. |
@mbrookhart I figured out how to add a shape check to reshape. I will submit the PR tomorrow. |
This following code snippet causes zero errors. Running this module with the graph runtime also does not error.
@tqchen
The text was updated successfully, but these errors were encountered: