mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
Increase floor on bypass_scale from 0.1 to 0.2.
This commit is contained in:
parent
938510ac9f
commit
a7fc6ae38c
@ -365,7 +365,7 @@ class ConformerEncoderLayer(nn.Module):
|
||||
# mode, clamp bypass_scale to [ 0.1, 1.0 ]; this will encourage it
|
||||
# to learn parameters within this range by making parameters that
|
||||
# are outside that range range noisy.
|
||||
bypass_scale = bypass_scale.clamp(min=0.1, max=1.0)
|
||||
bypass_scale = bypass_scale.clamp(min=0.2, max=1.0)
|
||||
src = src_orig + delta * bypass_scale
|
||||
|
||||
return self.whiten(src)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user