From 4e89a43442a6582e8f3fce85dbfeb2f0dc913360 Mon Sep 17 00:00:00 2001 From: pkufool Date: Sun, 22 Aug 2021 22:10:22 +0800 Subject: [PATCH] Minor fix --- egs/librispeech/ASR/conformer_ctc/conformer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/egs/librispeech/ASR/conformer_ctc/conformer.py b/egs/librispeech/ASR/conformer_ctc/conformer.py index 0701b4697..831ec99a3 100644 --- a/egs/librispeech/ASR/conformer_ctc/conformer.py +++ b/egs/librispeech/ASR/conformer_ctc/conformer.py @@ -41,7 +41,7 @@ class Conformer(Transformer): cnn_module_kernel (int): Kernel size of convolution module normalize_before (bool): whether to use layer_norm before the first block. vgg_frontend (bool): whether to use vgg frontend. - """ # noqa E501 + """ def __init__( self, @@ -872,7 +872,7 @@ class ConvolutionModule(nn.Module): kernel_size (int): Kernerl size of conv layers. bias (bool): Whether to use bias in conv layers (default=True). - """ # noqa + """ def __init__( self, channels: int, kernel_size: int, bias: bool = True