mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
Bug fix
This commit is contained in:
parent
df795912ed
commit
e5666628bd
@ -474,7 +474,6 @@ class AttentionDownsample(torch.nn.Module):
|
||||
Require out_channels > in_channels.
|
||||
"""
|
||||
super(AttentionDownsample, self).__init__()
|
||||
assert out_channels > in_channels
|
||||
self.query = nn.Parameter(torch.randn(in_channels) * (in_channels ** -0.5))
|
||||
|
||||
# fill in the extra dimensions with a projection of the input
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user