mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
e0cd9cdebf
commit
2b5b9cc213
Binary file not shown.
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user