from local

This commit is contained in:
dohe0342 2023-02-14 18:29:07 +09:00
parent d1b5666bab
commit f8137825d2
2 changed files with 6 additions and 1 deletions

View File

@ -181,7 +181,12 @@ class Conformer(Transformer):
mask = mask.to(x.device) if mask is not None else None
x, layer_outputs = self.encoder(
x, pos_emb, src_key_padding_mask=mask, warmup=warmup, condition_layer=self.condition_layer,
x,
pos_emb,
src_key_padding_mask=mask,
warmup=warmup,
condition_layer=self.condition_layer,
ctc_output=self.ctc_output,
) # (S, N, C)
if self.group_num != 0: