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