ensembles
This commit is contained in:
parent
ece80ecbed
commit
0cff42f951
@ -19,7 +19,8 @@ class LinearModule(ShapeMixin, nn.Module):
|
|||||||
|
|
||||||
def __init__(self, in_shape, out_features, bias=True, activation=None,
|
def __init__(self, in_shape, out_features, bias=True, activation=None,
|
||||||
norm=False, dropout: Union[int, float] = 0, **kwargs):
|
norm=False, dropout: Union[int, float] = 0, **kwargs):
|
||||||
warnings.warn(f'The following arguments have been ignored: \n {list(kwargs.keys())}')
|
if list(kwargs.keys()):
|
||||||
|
warnings.warn(f'The following arguments have been ignored: \n {list(kwargs.keys())}')
|
||||||
super(LinearModule, self).__init__()
|
super(LinearModule, self).__init__()
|
||||||
|
|
||||||
self.in_shape = in_shape
|
self.in_shape = in_shape
|
||||||
|
Loading…
x
Reference in New Issue
Block a user