(self, possibly_batched_index)
| 61 | ) |
| 62 | |
| 63 | def fetch(self, possibly_batched_index): |
| 64 | if self.auto_collation: |
| 65 | data = [self.dataset[idx] for idx in possibly_batched_index] |
| 66 | else: |
| 67 | data = self.dataset[possibly_batched_index] |
| 68 | return self.collate_fn(data) |
no outgoing calls
no test coverage detected