(self)
| 139 | self.cache = {} |
| 140 | |
| 141 | def __len__(self) -> int: |
| 142 | return len(self.dataset) |
| 143 | |
| 144 | def __getitem__(self, idx: int) -> Tuple[torch.Tensor, int]: |
| 145 | if idx in self.cache: |
nothing calls this directly
no outgoing calls
no test coverage detected