from local

This commit is contained in:
dohe0342 2023-01-08 18:53:59 +09:00
parent e0cd9cdebf
commit 2b5b9cc213
2 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ class Conformer(EncoderInterface):
for enum, alpha in enumerate(self.alpha):
x += self.sigmoid(alpha*layer_output[(enum+1)*self.group_layer_num-1])
x = self.layer_norm(x/self.group_size)
x = self.layer_norm(x/self.group_num)
return x, lengths