Skip to content

Commit

Permalink
fixed formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
JinZr committed Mar 11, 2024
1 parent a421792 commit 687b9f1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions egs/mdcc/ASR/zipformer/streaming_decode.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,11 +386,7 @@ def streaming_forward(
Returns encoder outputs, output lengths, and updated states.
"""
cached_embed_left_pad = states[-2]
(
x,
x_lens,
new_cached_embed_left_pad,
) = model.encoder_embed.streaming_forward(
(x, x_lens, new_cached_embed_left_pad) = model.encoder_embed.streaming_forward(
x=features,
x_lens=feature_lens,
cached_left_pad=cached_embed_left_pad,
Expand Down

0 comments on commit 687b9f1

Please sign in to comment.