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
5e4802e3cd
commit
c3887e79f2
Binary file not shown.
@ -135,7 +135,7 @@ class Conformer(EncoderInterface):
|
|||||||
)
|
)
|
||||||
self._init_state: List[torch.Tensor] = [torch.empty(0)]
|
self._init_state: List[torch.Tensor] = [torch.empty(0)]
|
||||||
|
|
||||||
self.alpha = nn.Parameter(torch.rand(4))
|
self.alpha = nn.Parameter(torch.rand(6))
|
||||||
self.sigmoid = nn.Sigmoid()
|
self.sigmoid = nn.Sigmoid()
|
||||||
self.layer_norm = nn.LayerNorm(512)
|
self.layer_norm = nn.LayerNorm(512)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user