Skip to content

Commit

Permalink
Update i6_models/decoder/attention.py
Browse files Browse the repository at this point in the history
Co-authored-by: Benedikt Hilmes <[email protected]>
  • Loading branch information
JackTemaki and Atticus1806 authored Oct 24, 2024
1 parent 6a147b7 commit a988e85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion i6_models/decoder/attention.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def forward(
labels: torch.Tensor,
enc_seq_len: torch.Tensor,
state: Optional[Tuple[torch.Tensor, ...]] = None,
shift_embeddings=True,
shift_embeddings: bool = True,
):
"""
:param encoder_outputs: encoder outputs of shape [B,T,D], same for training and search
Expand Down

0 comments on commit a988e85

Please sign in to comment.