(self)
| 139 | |
| 140 | # Memory management |
| 141 | def empty_cache(self): |
| 142 | return torch.cuda.empty_cache() |
| 143 | |
| 144 | def memory_allocated(self, device_index=None): |
| 145 | return torch.cuda.memory_allocated(device_index) |
nothing calls this directly
no outgoing calls
no test coverage detected