mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
5dee34188c
commit
cb45c76e47
Binary file not shown.
Binary file not shown.
@ -66,7 +66,6 @@ class ConvolutionModule(nn.Module):
|
||||
|
||||
"""
|
||||
# exchange the temporal dimension and the feature dimension
|
||||
residual = x
|
||||
x = x.transpose(1, 2)
|
||||
|
||||
# GLU mechanism
|
||||
@ -81,6 +80,4 @@ class ConvolutionModule(nn.Module):
|
||||
x = x.transpose(1, 2)
|
||||
x = self.layer_norm(x)
|
||||
|
||||
x += residual
|
||||
|
||||
return x
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user