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
70242d9fd2
commit
043a65945a
Binary file not shown.
@ -227,7 +227,7 @@ class Conformer(EncoderInterface):
|
|||||||
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[2]) * layer_outputs[5]
|
#x += self.sigmoid(self.alpha[2]) * layer_outputs[5]
|
||||||
x = self.layer_norm(x/4)
|
x = self.layer_norm(x/5)
|
||||||
#x = self.sigmoid(self.alpha[-1]) * layer_outputs[17]
|
#x = self.sigmoid(self.alpha[-1]) * layer_outputs[17]
|
||||||
#x += self.sigmoid(self.alpha[-2]) * layer_outputs[
|
#x += self.sigmoid(self.alpha[-2]) * layer_outputs[
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user