minor fix doc in emformer.py

This commit is contained in:
yaozengwei 2022-04-11 12:42:47 +08:00
parent 6c1f9b5181
commit 651745b220

View File

@ -1410,7 +1410,7 @@ class ConvolutionModule(nn.Module):
bias=bias, bias=bias,
) )
# from https://github.com/wenet-e2e/wenet/blob/main/wenet/transformer/convolution.py # noqa # from https://github.com/wenet-e2e/wenet/blob/main/wenet/transformer/convolution.py # noqa
if causal: if causal:
self.left_padding = kernel_size - 1 self.left_padding = kernel_size - 1
padding = 0 padding = 0