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
Add training call argument for MultiHeadAttention #42625
Add training call argument for MultiHeadAttention #42625
Conversation
Remove trailing space
f1188e1
to
ba2198f
Compare
Hi @tanzhenyu, sorry for bothering you. Can you review this when time allows? We are going to deprecate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Is the training argument required? I thought keras will automatically inject training from models. |
Hi @saberkun It will be injected when using it inside |
Imported from GitHub PR tensorflow/tensorflow#42625 Miss `training` call argument for dropout layer. /cc @tanzhenyu for visibility. Copybara import of the project: -- ba2198fc735a2deca08c68a3c6266d02e01dfe3b by Tzu-Wei Sung <windqaq@gmail.com>: Add training call argument for MultiHeadAttention Remove trailing space PiperOrigin-RevId: 335507127
Imported from GitHub PR tensorflow/tensorflow#42625 Miss `training` call argument for dropout layer. /cc @tanzhenyu for visibility. Copybara import of the project: -- ba2198fc735a2deca08c68a3c6266d02e01dfe3b by Tzu-Wei Sung <windqaq@gmail.com>: Add training call argument for MultiHeadAttention Remove trailing space PiperOrigin-RevId: 335507127
Miss
training
call argument for dropout layer. /cc @tanzhenyu for visibility.