Skip to content

Fix: Update SparseCategoricalCrossentropy example #21427

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sonali-kumari1
Copy link
Contributor

@sonali-kumari1 sonali-kumari1 commented Jun 26, 2025

Update SparseCategoricalCrossentropy example to resolve ValueError: Structures don't have the same nested structure. Gist

Fixes : #21426

@codecov-commenter
Copy link

codecov-commenter commented Jun 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.72%. Comparing base (3d6022a) to head (4242b42).
Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #21427   +/-   ##
=======================================
  Coverage   82.72%   82.72%           
=======================================
  Files         565      565           
  Lines       55222    55222           
  Branches     8609     8609           
=======================================
  Hits        45683    45683           
  Misses       7428     7428           
  Partials     2111     2111           
Flag Coverage Δ
keras 82.53% <ø> (ø)
keras-jax 63.33% <ø> (ø)
keras-numpy 58.53% <ø> (+<0.01%) ⬆️
keras-openvino 33.79% <ø> (ø)
keras-tensorflow 63.74% <ø> (ø)
keras-torch 63.37% <ø> (ø)

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.

@gbaned gbaned requested a review from mattdangerw June 30, 2025 08:16
@gbaned gbaned added this to PR Queue Jun 30, 2025
@github-project-automation github-project-automation bot moved this to Assigned Reviewer in PR Queue Jun 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Assigned Reviewer
Development

Successfully merging this pull request may close these issues.

Wrong example for SparseCategoricalCrossentropy
3 participants