(self, idx)
| 231 | return self.length |
| 232 | |
| 233 | def __getitem__(self, idx): |
| 234 | if idx < 0 or idx >= self.length: |
| 235 | raise IndexError("Index out of range") |
| 236 | return self.ds[idx + self.start] |
| 237 | |
| 238 | |
| 239 | def split_train_val_test(ds, split=[0.99, 0.01, 0.0], seed=None): |
nothing calls this directly
no outgoing calls
no test coverage detected