Skip to content

Commit 20227b1

Browse files
committed
removed hparams req
1 parent d0d5653 commit 20227b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pytorch_lightning/root_module/root_module.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
class LightningModule(GradInformation, ModelIO, ModelHooks):
1010

11-
def __init__(self):
12-
super(LightningModule, self).__init__()
11+
def __init__(self, *args, **kwargs):
12+
super(LightningModule, self).__init__(*args, **kwargs)
1313

1414
self.dtype = torch.FloatTensor
1515
self.exp_save_path = None

0 commit comments

Comments
 (0)