(self, idx)
| 253 | torch.save(tensor, filepath) |
| 254 | |
| 255 | def _get_file_path(self, idx): |
| 256 | return os.path.join(self.cache_path, f"data_{idx}.pt") |
| 257 | |
| 258 | def __len__(self): |
| 259 | return self.size//self.batch_size |
no outgoing calls
no test coverage detected