(self, pid)
| 207 | return res |
| 208 | |
| 209 | def persistent_load(self, pid): |
| 210 | name, cls, fn, device, size = pid |
| 211 | with warnings.catch_warnings(): |
| 212 | warnings.simplefilter("ignore") |
| 213 | s = torch.storage.TypedStorage(dtype=cls().dtype, device="meta") |
| 214 | s.archiveinfo = pid |
| 215 | return s |
| 216 | |
| 217 | |
| 218 | class lazy_load: |
nothing calls this directly
no outgoing calls
no test coverage detected