from local

This commit is contained in:
dohe0342 2023-02-25 18:18:32 +09:00
parent 5f3d4fc696
commit b49fa2e82e
2 changed files with 3 additions and 0 deletions

View File

@ -192,6 +192,9 @@ class Conformer(Transformer):
ctc_output=self.ctc_output,
) # (S, N, C)
if 1:
return x, mask
if self.group_num > 0:
x = 0
if self.learnable_alpha: