Skip to content

Commit f87b60c

Browse files
committed
Fix docs typo: train_batch => val_batch
1 parent 96b32be commit f87b60c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytorch_lightning/core/lightning.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ def validation_step(self, *args, **kwargs) -> Dict[str, Tensor]:
408408
# the pseudocode for these calls
409409
val_outs = []
410410
for val_batch in val_data:
411-
out = validation_step(train_batch)
411+
out = validation_step(val_batch)
412412
val_outs.append(out)
413413
validation_epoch_end(val_outs)
414414

0 commit comments

Comments
 (0)