-
Notifications
You must be signed in to change notification settings - Fork 19.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
What is correct behavior of keras.ops.eye? #20616
Comments
Hi @yubori, |
@yubori, Thanks for reporting this. I have reproduced this error here and |
Hi @dhantule |
I think in general we should probably let The bug is that tf is too permissive here, we could add errors so that I'll mark this as contributors welcome. This is a good first issue to bring tf in line with jax and torch. |
Hi,
I have a question about keras.ops.eye of Keras3.
With Tensorflow, the keras.ops.eye accepts integers and floats.
However, with torch and jax, only integers are accepted.
Which behavior is correct?
There is no limitation description on documents.
Because Keras 2 accepts integers and floats, I was confused with it during migration.
The text was updated successfully, but these errors were encountered: