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
bd173c83c8
commit
01d4272273
Binary file not shown.
@ -226,6 +226,7 @@ class Conformer(EncoderInterface):
|
|||||||
x += self.sigmoid(self.alpha[-3]) * layer_outputs[11]
|
x += self.sigmoid(self.alpha[-3]) * layer_outputs[11]
|
||||||
x += self.sigmoid(self.alpha[-4]) * layer_outputs[8]
|
x += self.sigmoid(self.alpha[-4]) * layer_outputs[8]
|
||||||
x += self.sigmoid(self.alpha[-5]) * layer_outputs[5]
|
x += self.sigmoid(self.alpha[-5]) * layer_outputs[5]
|
||||||
|
x += self.sigmoid(self.alpha[-6]) * layer_outputs[3]
|
||||||
#x += self.sigmoid(self.alpha[2]) * layer_outputs[5]
|
#x += self.sigmoid(self.alpha[2]) * layer_outputs[5]
|
||||||
x = self.layer_norm(x/6)
|
x = self.layer_norm(x/6)
|
||||||
#x = self.sigmoid(self.alpha[-1]) * layer_outputs[17]
|
#x = self.sigmoid(self.alpha[-1]) * layer_outputs[17]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user