updated args

This commit is contained in:
William Falcon
2019-06-25 19:35:11 -04:00
parent e801914d1d
commit c54dd94295
3 changed files with 16 additions and 18 deletions
+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):
"""