from local
This commit is contained in:
parent
600ee74855
commit
13ccaf1a94
Binary file not shown.
@ -222,7 +222,8 @@ class Conformer(EncoderInterface):
|
|||||||
x = self.layer_norm(x/self.group_num)
|
x = self.layer_norm(x/self.group_num)
|
||||||
'''
|
'''
|
||||||
x = self.sigmoid(self.alpha[0]) * layer_outputs[2]
|
x = self.sigmoid(self.alpha[0]) * layer_outputs[2]
|
||||||
x = self.layer_norm(x)
|
x += self.sigmoid(self.alpha[1]) * layer_outputs[5]
|
||||||
|
x = self.layer_norm(x/2)
|
||||||
|
|
||||||
return x, lengths
|
return x, lengths
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user