MCPcopy Create free account
hub / github.com/Kaggle/docker-python / train_dataloader

Method train_dataloader

tests/test_pytorch_lightning.py:27–28  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

25 def train_dataloader(self):
26 return DataLoader(self.train_ds, batch_size=self.batch_size, shuffle=True, num_workers=1)
27
28 def val_dataloader(self):
29 return DataLoader(self.valid_ds, batch_size=self.batch_size, shuffle=False, num_workers=1)
30
31

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected