Update README.md

This commit is contained in:
William Falcon authored and GitHub committed 2019-08-13 06:39:33 -04:00
1 parent ea76ad2b28
commit 190a3a9260
1 file changed
+1 -1
+1 -1
View File
@@ -87,7 +87,7 @@ class CoolModel(pl.LightningModule):
y_hat = self.forward(x)
return {'loss': F.cross_entropy(y_hat, y)}
def validation_step(self, batch, batch_nb, dataset_i):
def validation_step(self, batch, batch_nb, dataloader_i):
# OPTIONAL
x, y = batch
y_hat = self.forward(x)