From 687b9f1c457614f5b7c4637230948541e34b7997 Mon Sep 17 00:00:00 2001 From: jinzr Date: Mon, 11 Mar 2024 23:11:04 +0800 Subject: [PATCH] fixed formatting issues --- egs/mdcc/ASR/zipformer/streaming_decode.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/egs/mdcc/ASR/zipformer/streaming_decode.py b/egs/mdcc/ASR/zipformer/streaming_decode.py index fc457e823b..dadb0b55fd 100755 --- a/egs/mdcc/ASR/zipformer/streaming_decode.py +++ b/egs/mdcc/ASR/zipformer/streaming_decode.py @@ -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,