Skip to content

Commit e042254

Browse files
committed
Address comments
1 parent a9ed47e commit e042254

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pytorch_lightning/core/lightning.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ def log(
351351
sync_dist_op=sync_dist_op,
352352
sync_dist_group=sync_dist_group,
353353
sync_fn=self.trainer.training_type_plugin.reduce,
354-
dataloader_idx=self._current_dataloader_idx if add_dataloader_idx else None,
354+
dataloader_idx=(self._current_dataloader_idx if add_dataloader_idx else None),
355355
device=self.device,
356356
)
357357

pytorch_lightning/trainer/connectors/logger_connector/epoch_result_store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ def __call__(
469469
batch_idx: Batch index seen during batch training or evaluation.
470470
Works only with ``reduced=False``
471471
472-
split_idx: Index of split idx in training loop when ttbpt is used.
472+
split_idx: Index of split idx in training loop when tbptt is used.
473473
474474
reduced: Data are being aggregated on on_epoch_end.
475475
Indicates if we want to access the aggregated Result or not.

0 commit comments

Comments
 (0)