mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
Make AttentionSqueeze dim smaller, at embed_dim // 2.
This commit is contained in:
parent
22204450db
commit
8231350ac4
@ -446,7 +446,7 @@ class ZipformerEncoderLayer(nn.Module):
|
||||
cnn_module_kernel)
|
||||
|
||||
|
||||
self.attention_squeeze = AttentionSqueeze(embed_dim, 256)
|
||||
self.attention_squeeze = AttentionSqueeze(embed_dim, embed_dim // 2)
|
||||
|
||||
self.norm_final = BasicNorm(embed_dim)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user