mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-19 05:54:20 +00:00
remove bypass_scale
This commit is contained in:
parent
d950496d5a
commit
d975d59c7d
@ -430,8 +430,6 @@ class SubformerEncoderLayer(nn.Module):
|
|||||||
|
|
||||||
self.norm = BiasNorm(embed_dim)
|
self.norm = BiasNorm(embed_dim)
|
||||||
|
|
||||||
self.bypass_scale = nn.Parameter(torch.full((embed_dim,), 0.5))
|
|
||||||
|
|
||||||
self.balancer1 = Balancer(
|
self.balancer1 = Balancer(
|
||||||
embed_dim, channel_dim=-1,
|
embed_dim, channel_dim=-1,
|
||||||
min_positive=0.45, max_positive=0.55,
|
min_positive=0.45, max_positive=0.55,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user