(self, *args, **kwargs)
| 260 | class MultiEpochsDataLoader(torch.utils.data.DataLoader): |
| 261 | |
| 262 | def __init__(self, *args, **kwargs): |
| 263 | super().__init__(*args, **kwargs) |
| 264 | self._DataLoader__initialized = False |
| 265 | self.batch_sampler = _RepeatSampler(self.batch_sampler) |
| 266 | self._DataLoader__initialized = True |
| 267 | self.iterator = super().__iter__() |
| 268 | |
| 269 | def __len__(self): |
| 270 | return len(self.batch_sampler.sampler) |
nothing calls this directly
no test coverage detected