mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-04 06:34:20 +00:00
Add wenet ref in ConvolutionModule class.
This commit is contained in:
parent
1d74c5e596
commit
6c1f9b5181
@ -1410,6 +1410,7 @@ class ConvolutionModule(nn.Module):
|
||||
bias=bias,
|
||||
)
|
||||
|
||||
# from https://github.com/wenet-e2e/wenet/blob/main/wenet/transformer/convolution.py # noqa
|
||||
if causal:
|
||||
self.left_padding = kernel_size - 1
|
||||
padding = 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user