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

fix attention output with symbolic tensors and attention scores #20689

Conversation

Surya2k1
Copy link
Contributor

fix attention layer output with symbolic tensors and return_attention_scores = True .

Fixes #20621

@codecov-commenter
Copy link

codecov-commenter commented Dec 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.97%. Comparing base (f54c127) to head (67ba3a6).

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #20689   +/-   ##
=======================================
  Coverage   81.96%   81.97%           
=======================================
  Files         545      545           
  Lines       50831    50831           
  Branches     7861     7861           
=======================================
+ Hits        41663    41667    +4     
+ Misses       7265     7262    -3     
+ Partials     1903     1902    -1     
Flag Coverage Δ
keras 81.80% <100.00%> (+<0.01%) ⬆️
keras-jax 63.96% <100.00%> (+<0.01%) ⬆️
keras-numpy 58.89% <100.00%> (+<0.01%) ⬆️
keras-openvino 29.93% <0.00%> (ø)
keras-tensorflow 64.71% <100.00%> (+<0.01%) ⬆️
keras-torch 63.81% <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 26, 2024
@fchollet fchollet merged commit 8907bcb into keras-team:master Dec 26, 2024
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 Dec 26, 2024
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.

Cannot call AttentionLayer with symbolic tensors and return_attention_scores=True in Keras 3
4 participants