From 5d8b223a8c862ae841bfb924d14d93b8285e25c6 Mon Sep 17 00:00:00 2001 From: dohe0342 Date: Mon, 9 Jan 2023 19:35:38 +0900 Subject: [PATCH] from local --- .../ASR/incremental_transf/.conformer.py.swp | Bin 110592 -> 110592 bytes .../ASR/incremental_transf/conformer.py | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/egs/librispeech/ASR/incremental_transf/.conformer.py.swp b/egs/librispeech/ASR/incremental_transf/.conformer.py.swp index 407e0e7b1700785c437721c04c40c1f7ace1911e..0dc8ad32095b16af1cfbf6b56602a2bebc963b2c 100644 GIT binary patch delta 295 zcmZp8z}E19O*F|M%+puFQqO<^2m}}yuD#uz{IF4Ut0?39ezs{qF(szyToV{S)h}ab zV3-ZW{XpCZ#3ewi3dF)de1wgGVF?gV0%8{+{>I9{a1w}j0C6V}+W_%<76yjxK)f1= zJApU>h}D5u4T!%o1I+;9J|OM|;#43G0Adp$e$B+daGHsMo1q)Xa0g#0!A94~Xr7SRROZfp|YF14AJYy8y8<5VHXBb`}PPEFd-lVl^OU z0pi=t3=E5acp(rM0I@v~a{@635Iw!28h~1bNxEa`hj6;lI2enOPRG)sX klaXutS|LV5*6F#^8I7iERxqk>=agXVX5W5h9;1mM0P4XiMgRZ+ diff --git a/egs/librispeech/ASR/incremental_transf/conformer.py b/egs/librispeech/ASR/incremental_transf/conformer.py index cdc103d66..763153776 100644 --- a/egs/librispeech/ASR/incremental_transf/conformer.py +++ b/egs/librispeech/ASR/incremental_transf/conformer.py @@ -504,8 +504,8 @@ class Tempformer(EncoderInterface): self._init_state: List[torch.Tensor] = [torch.empty(0)] def forward( - self, x: torch.Tensor, x_lens: torch.Tensor, warmup: float = 1.0, get_layer_output = False, - ) -> Tuple[torch.Tensor, torch.Tensor, Optional[List[torch.Tensor]]]: + self, x: torch.Tensor + ): """ Args: x: