keras-team / keras-tuner

A Hyperparameter Tuning Library for Keras
https://keras.io/keras_tuner/
Apache License 2.0
2.86k stars 396 forks source link

Replace integer division by floating division in `Float` hyperparameter #1002

Open sfo opened 8 months ago

sfo commented 8 months ago

This fixes #1001

I omitted explicitly calling math.floor(), since the result gets cast to int anyway.

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.37%. Comparing base (8aa8dc2) to head (6c36aba).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1002 +/- ## ======================================= Coverage 98.37% 98.37% ======================================= Files 50 50 Lines 3085 3085 ======================================= Hits 3035 3035 Misses 50 50 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.