(self, dataset)
| 316 | """Wraps an arbitrary object with __len__ and __getitem__ into a pytorch dataset""" |
| 317 | |
| 318 | def __init__(self, dataset): |
| 319 | self.data = dataset |
| 320 | |
| 321 | def __len__(self): |
| 322 | return len(self.data) |
nothing calls this directly
no outgoing calls
no test coverage detected