DataLoaderLoop¶
- class pytorch_lightning.loops.dataloader.dataloader_loop.DataLoaderLoop[source]¶
Bases:
pytorch_lightning.loops.loop.Loop
Base class to loop over all dataloaders.
- on_advance_start(*args, **kwargs)[source]¶
Hook to be called each time before
advance
is called.Accepts all arguments passed to :attr`run`.
- Return type:
- property current_dataloader: torch.utils.data.dataloader.DataLoader¶
Returns the current dataloader.
- Return type:
- abstract property dataloaders: Sequence[torch.utils.data.dataloader.DataLoader]¶
Returns the dataloaders to loop over.
- Return type: