from local

This commit is contained in:
dohe0342 2023-01-07 00:30:29 +09:00
parent bb2d62ca85
commit 9460ff6b38
2 changed files with 3 additions and 2 deletions

View File

@ -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)