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