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

the dynamic has a result, but the static inference shape reports an error #20242

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mehtamansi29
Copy link
Collaborator

static and dynamic input to AveragePooling2D should show same result and error. Fixes #20218

@codecov-commenter
Copy link

codecov-commenter commented Sep 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.37%. Comparing base (7496e18) to head (de9a169).
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #20242      +/-   ##
==========================================
- Coverage   79.38%   79.37%   -0.02%     
==========================================
  Files         501      501              
  Lines       47483    47503      +20     
  Branches     8718     8725       +7     
==========================================
+ Hits        37694    37705      +11     
- Misses       8025     8033       +8     
- Partials     1764     1765       +1     
Flag Coverage Δ
keras 79.22% <100.00%> (-0.02%) ⬇️
keras-jax 62.50% <100.00%> (-0.01%) ⬇️
keras-numpy 57.68% <100.00%> (-0.02%) ⬇️
keras-tensorflow 63.88% <100.00%> (-0.01%) ⬇️
keras-torch 62.54% <100.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.

padding,
data_format,
).symbolic_call(inputs)
return operation_utils.compute_pooling_output_shape(
Copy link
Member

Choose a reason for hiding this comment

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

This is incorrect, the symbolic call should return a KerasTensor instance.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@fchollet - Thanks for update. Let me have a resolve it and commit again.

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.

the dynamic has a result, but the static inference shape reports an error
4 participants