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
8b4a2ecfe8
commit
41f3cbe122
Binary file not shown.
@ -125,7 +125,7 @@ class Conformer(EncoderInterface):
|
||||
self.encoder = ConformerEncoder(encoder_layer, num_encoder_layers)
|
||||
self._init_state: List[torch.Tensor] = [torch.empty(0)]
|
||||
|
||||
self.group_size =
|
||||
self.group_size = group_size
|
||||
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