-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX Add missing attributes to MultiheadAttention (#2335)
See initial report here: #761 (comment). For MHA to work in all circumstances, for instance in eval model, it requires us to expose a couple of more attributes that we have missed so far. Those were added now.
- Loading branch information
1 parent
da998c8
commit 8302817
Showing
2 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters