(self)
| 24 | self.classes = ['airplane', 'automobile', 'bird', 'cat', 'deer', 'dog', 'frog', 'horse', 'ship', 'truck'] |
| 25 | |
| 26 | def __len__(self): |
| 27 | return len(self.dataset) |
| 28 | |
| 29 | def __getitem__(self, idx): |
| 30 | return self.dataset[idx] |
nothing calls this directly
no outgoing calls
no test coverage detected