mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-10-28 13:20:31 +08:00
packed sequence clarification in train_dataloader (#443)
* packed sequence clarification in train_dataloader * moved changes to training loop * removed changes from required interface * added index entry
This commit is contained in:
1 parent
1865de1ff8
commit
4e9fd95f79
3 files changed
+21
-1
No files matched your search
@@ -186,7 +186,7 @@ break out of the current training epoch early.
|
||||
def train_dataloader(self)
|
||||
```
|
||||
Called by lightning during training loop. Make sure to use the @pl.data_loader decorator, this ensures not calling this function until the data are needed.
|
||||
If you want to change the data during every epoch DON'T use the data_loader decorator.
|
||||
If you want to change the data during every epoch DON'T use the data_loader decorator.
|
||||
|
||||
##### Return
|
||||
PyTorch DataLoader
|
||||
|
||||
Reference in new issue
Block a user