Skip to content

Commit fa88905

Browse files
EspenHaJeff YangBorda
authored
Fix docs typo: train_batch => val_batch (#4659)
Co-authored-by: Jeff Yang <[email protected]> Co-authored-by: Jirka Borovec <[email protected]>
1 parent d096a2e commit fa88905

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
@@ -599,7 +599,7 @@ def validation_step(self, *args, **kwargs):
599599
# the pseudocode for these calls
600600
val_outs = []
601601
for val_batch in val_data:
602-
out = validation_step(train_batch)
602+
out = validation_step(val_batch)
603603
val_outs.append(out)
604604
validation_epoch_end(val_outs)
605605

0 commit comments

Comments
 (0)