mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
Increase eps_max in norm_final from 3 to 4.
This commit is contained in:
parent
3d6ee443e3
commit
11f5454b6a
@ -453,7 +453,7 @@ class ZipformerEncoderLayer(nn.Module):
|
||||
|
||||
self.attention_squeeze = AttentionSqueeze(embed_dim, embed_dim // 2)
|
||||
|
||||
self.norm_final = BasicNorm(embed_dim)
|
||||
self.norm_final = BasicNorm(embed_dim, eps_max=4.0)
|
||||
|
||||
self.bypass_scale = nn.Parameter(torch.full((embed_dim,), 0.5))
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user