From 0d307facb16236174c302dc7714f7f20f434a4a6 Mon Sep 17 00:00:00 2001 From: Jordan Gong Date: Thu, 31 Dec 2020 10:57:35 +0800 Subject: Make super class constructor revoke consistent --- models/layers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models/layers.py') diff --git a/models/layers.py b/models/layers.py index c69ae07..a9f04b3 100644 --- a/models/layers.py +++ b/models/layers.py @@ -154,7 +154,7 @@ class BasicConv1d(nn.Module): kernel_size: Union[int, tuple[int]], **kwargs ): - super(BasicConv1d, self).__init__() + super().__init__() self.conv = nn.Conv1d(in_channels, out_channels, kernel_size, bias=False, **kwargs) -- cgit v1.2.3