(self, index)
| 215 | return self.len |
| 216 | |
| 217 | def __getitem__(self, index): |
| 218 | return self.wrapped_data[ |
| 219 | (index // len(self.indices)) * self.block_size + self.indices[index % len(self.indices)] |
| 220 | ] |
| 221 | |
| 222 | |
| 223 | class SubsetDataset(Dataset): |
nothing calls this directly
no outgoing calls
no test coverage detected