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

Adjust value_range for random_contrast and random_hue #20671

Merged
merged 3 commits into from
Dec 19, 2024

Conversation

shashaka
Copy link
Contributor

@shashaka shashaka commented Dec 19, 2024

I’ve updated the processing logic for the value_range argument in the following components:

  1. random_contrast
  • Added the value_range argument.
  • Corrected the existing test cases and added new test cases to validate the value_range functionality.
  1. random_hue
  • Set a default value for the value_range argument.
  • Introduced new test cases to cover the value_range functionality.

@codecov-commenter
Copy link

codecov-commenter commented Dec 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.95%. Comparing base (84b531c) to head (bc8b6ae).

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #20671   +/-   ##
=======================================
  Coverage   81.95%   81.95%           
=======================================
  Files         543      543           
  Lines       50663    50664    +1     
  Branches     7828     7828           
=======================================
+ Hits        41523    41524    +1     
  Misses       7246     7246           
  Partials     1894     1894           
Flag Coverage Δ
keras 81.79% <100.00%> (+<0.01%) ⬆️
keras-jax 63.90% <100.00%> (+<0.01%) ⬆️
keras-numpy 58.82% <100.00%> (+<0.01%) ⬆️
keras-openvino 29.95% <33.33%> (-0.01%) ⬇️
keras-tensorflow 64.65% <100.00%> (+<0.01%) ⬆️
keras-torch 63.72% <100.00%> (+<0.01%) ⬆️

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 Dec 19, 2024
@fchollet fchollet merged commit 2db547b into keras-team:master Dec 19, 2024
7 checks passed
@google-ml-butler google-ml-butler bot removed ready to pull Ready to be merged into the codebase kokoro:force-run labels Dec 19, 2024
@shashaka shashaka deleted the value_range branch December 19, 2024 23:23
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