from local

This commit is contained in:
dohe0342 2023-01-09 19:28:14 +09:00
parent 06dca57f4b
commit cdd062a4fe
2 changed files with 2 additions and 2 deletions

View File

@ -136,8 +136,8 @@ class Conformer(EncoderInterface):
self._init_state: List[torch.Tensor] = [torch.empty(0)] self._init_state: List[torch.Tensor] = [torch.empty(0)]
def forward( def forward(
self, x: torch.Tensor, x_lens: torch.Tensor, warmup: float = 1.0, layer_output = False, self, x: torch.Tensor, x_lens: torch.Tensor, warmup: float = 1.0, get_layer_output = False,
) -> Tuple[torch.Tensor, torch.Tensor]: ) -> Tuple[torch.Tensor, torch.Tensor, Optional[List[torch.Tensor]]]:
""" """
Args: Args:
x: x: