Skip to content

Commit

Permalink
removed hparams req
Browse files Browse the repository at this point in the history
  • Loading branch information
williamFalcon committed Jul 25, 2019
1 parent d0d5653 commit 20227b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pytorch_lightning/root_module/root_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

class LightningModule(GradInformation, ModelIO, ModelHooks):

def __init__(self):
super(LightningModule, self).__init__()
def __init__(self, *args, **kwargs):
super(LightningModule, self).__init__(*args, **kwargs)

self.dtype = torch.FloatTensor
self.exp_save_path = None
Expand Down

0 comments on commit 20227b1

Please sign in to comment.