(self)
| 7 | self.data = [(torch.rand(20), torch.rand(1)) for _ in range(size)] |
| 8 | |
| 9 | def __len__(self): |
| 10 | return self.size |
| 11 | |
| 12 | def __getitem__(self, index): |
| 13 | return self.data[index] |
nothing calls this directly
no outgoing calls
no test coverage detected