Skip to content

Commit

Permalink
add kwargs in forward argument
Browse files Browse the repository at this point in the history
  • Loading branch information
YosukeHiguchi committed May 9, 2022
1 parent 537f9b6 commit 79cda74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions espnet2/asr/maskctc_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ def forward(
speech_lengths: torch.Tensor,
text: torch.Tensor,
text_lengths: torch.Tensor,
**kwargs,
) -> Tuple[torch.Tensor, Dict[str, torch.Tensor], torch.Tensor]:
"""Frontend + Encoder + Decoder + Calc loss
Expand Down

0 comments on commit 79cda74

Please sign in to comment.