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

fix(ops): Fix ops.argmin() handling of subnormal float values in Keras backends #20812

Merged

Conversation

harshaljanjani
Copy link
Contributor

…s backends

- Update JAX and NumPy backends to handle subnormal float comparisons

- Add test case to verify subnormal float value handling
@harshaljanjani
Copy link
Contributor Author

TODO: Ensure TensorFlow compatibility.

@codecov-commenter
Copy link

codecov-commenter commented Jan 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.01%. Comparing base (aee7dce) to head (f7a0f2a).

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #20812   +/-   ##
=======================================
  Coverage   82.00%   82.01%           
=======================================
  Files         558      558           
  Lines       52170    52182   +12     
  Branches     8065     8067    +2     
=======================================
+ Hits        42783    42795   +12     
  Misses       7421     7421           
  Partials     1966     1966           
Flag Coverage Δ
keras 81.82% <100.00%> (+<0.01%) ⬆️
keras-jax 64.24% <50.00%> (-0.01%) ⬇️
keras-numpy 58.97% <50.00%> (-0.01%) ⬇️
keras-openvino 29.84% <0.00%> (-0.01%) ⬇️
keras-tensorflow 64.78% <0.00%> (-0.02%) ⬇️
keras-torch 64.16% <0.00%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@google-ml-butler google-ml-butler bot added kokoro:force-run ready to pull Ready to be merged into the codebase labels Jan 26, 2025
@fchollet fchollet merged commit 734cd03 into keras-team:master Jan 26, 2025
8 checks passed
@google-ml-butler google-ml-butler bot removed ready to pull Ready to be merged into the codebase kokoro:force-run labels Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants