updated args

This commit is contained in:
William Falcon committed 2019-06-25 19:35:11 -04:00
1 parent e801914d1d
commit c54dd94295
3 files changed
+16 -18

No files matched your search

+1 -7
View File
@@ -50,13 +50,7 @@ class RootModule(GradInformation, ModelIO, OptimizerConfig, ModelHooks):
:param x:
:return:
"""
if self.from_lightning:
# route the forward call to the correct step type
if self.training:
return self.training_step(*args, **kwargs)
else:
return self.validation_step(*args, **kwargs)
raise NotImplementedError
def validation_step(self, data_batch, batch_nb):
"""