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
e83b2fe8f2
commit
1864d0c0c7
Binary file not shown.
@ -225,7 +225,7 @@ class Conformer(EncoderInterface):
|
|||||||
#x = self.sigmoid(self.alpha[0]) * layer_outputs[2]
|
#x = self.sigmoid(self.alpha[0]) * layer_outputs[2]
|
||||||
#x += self.sigmoid(self.alpha[1]) * layer_outputs[5]
|
#x += self.sigmoid(self.alpha[1]) * 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)
|
x = self.layer_norm(x)
|
||||||
|
|
||||||
return x, lengths
|
return x, lengths
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user