mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
Change activation in bottleneck to Tanh.
This commit is contained in:
parent
8dfeaa5f92
commit
19683aa516
@ -1306,7 +1306,7 @@ class AttentionSqueeze(nn.Module):
|
||||
max_factor=0.02,
|
||||
min_prob=0.1,
|
||||
)
|
||||
self.bottleneck_activation = DoubleSwish() # in bottleneck
|
||||
self.bottleneck_activation = nn.Tanh() # in bottleneck
|
||||
self.activation = Identity() # for diagnostics
|
||||
|
||||
# the next two balancers are only to stop parameter-magnitude 'drift': we have
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user