-
Notifications
You must be signed in to change notification settings - Fork 22.2k
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
torch.equals bug #15900
Comments
I believe this is floating point error, does this work for double tensors? |
No.
It'd be hard to imagine this being something other than a floating point error though. Is there any support for |
I think there is something in |
It's not publically documented, yeah? It'd be nice to have that public for writing tests. Using |
Definitely a floating-point issue, since it works with Maybe a robust workaround is something like |
Thanks guys! |
🐛 Bug
Torch equals does not work.
To Reproduce
Expected behavior
That equality still works after some operations.
Environment
The text was updated successfully, but these errors were encountered: