This commit is contained in:
haoneng.lhn 2023-05-22 16:44:31 +08:00
parent a2a70f776a
commit a9e2c603c0

View File

@ -720,10 +720,6 @@ class ParaformerOnline(Paraformer):
self, speech: torch.Tensor, speech_lengths: torch.Tensor, cache: dict = None self, speech: torch.Tensor, speech_lengths: torch.Tensor, cache: dict = None
) -> Tuple[torch.Tensor, torch.Tensor]: ) -> Tuple[torch.Tensor, torch.Tensor]:
"""Frontend + Encoder. Note that this method is used by asr_inference.py """Frontend + Encoder. Note that this method is used by asr_inference.py
<<<<<<< HEAD
=======
>>>>>>> 4cd79db451786548d8a100f25c3b03da0eb30f4b
Args: Args:
speech: (Batch, Length, ...) speech: (Batch, Length, ...)
speech_lengths: (Batch, ) speech_lengths: (Batch, )