-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds helper for sizing the decoder input size.
This eliminates a repeated ternary in the definition of the hard attention classes simply by making it a property of the ABC.
- Loading branch information
1 parent
bd6f171
commit b79404c
Showing
1 changed file
with
22 additions
and
24 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