Skip to content

Updated random_grayscale.py compute_output_spec #21326

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

Merged
merged 16 commits into from
May 26, 2025

Conversation

pctablet505
Copy link
Collaborator

@pctablet505 pctablet505 commented May 26, 2025

Removed the use of tree as there is single tensor as mentioned in
#21312 (comment)

pctablet505 and others added 16 commits May 6, 2025 10:25
Corrected indentation in doc string
Fixed issue with passing a single image without batch dimension.
…scale.py

Co-authored-by: Jyotinder Singh <33001894+JyotinderSingh@users.noreply.github.com>
Test case for unbatched inputs
Testcase for checking both unbatched and batched single image inputs.
There was a bug, and it was causing cycle in graph.
removed the use of tree.map_structure
@codecov-commenter
Copy link

codecov-commenter commented May 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.60%. Comparing base (785c9b0) to head (27ad80b).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #21326   +/-   ##
=======================================
  Coverage   82.60%   82.60%           
=======================================
  Files         565      565           
  Lines       54773    54798   +25     
  Branches     8508     8509    +1     
=======================================
+ Hits        45244    45265   +21     
- Misses       7439     7442    +3     
- Partials     2090     2091    +1     
Flag Coverage Δ
keras 82.41% <100.00%> (+<0.01%) ⬆️
keras-jax 63.55% <100.00%> (-0.01%) ⬇️
keras-numpy 58.71% <0.00%> (+<0.01%) ⬆️
keras-openvino 33.13% <0.00%> (-0.01%) ⬇️
keras-tensorflow 63.96% <100.00%> (-0.01%) ⬇️
keras-torch 63.62% <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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@pctablet505 pctablet505 requested a review from Copilot May 26, 2025 08:55
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@pctablet505 pctablet505 requested a review from hertschuh May 26, 2025 09:32
@google-ml-butler google-ml-butler bot added kokoro:force-run ready to pull Ready to be merged into the codebase labels May 26, 2025
@fchollet fchollet merged commit 9e38e04 into keras-team:master May 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 May 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