(self)
| 47 | self.data_source = data_source |
| 48 | |
| 49 | def __iter__(self): |
| 50 | return iter(torch.randperm(len(self.data_source)).long()) |
| 51 | |
| 52 | def __len__(self): |
| 53 | return len(self.data_source) |
nothing calls this directly
no outgoing calls
no test coverage detected