Esempio n. 1
0
 def test_dataloader(self):
     return DataLoader(RandomDataset(32, 64), batch_size=2)
Esempio n. 2
0
 def val_dataloader():
     return DataLoader(RandomDataset(32, 64), batch_size=2)