(self)
| 370 | return self.end_time - self.start_time |
| 371 | |
| 372 | def __enter__(self): |
| 373 | torch.cuda.synchronize() |
| 374 | self.start_time = time() |
| 375 | return self |
| 376 | |
| 377 | def __exit__(self, exc_type, exc_val, exc_tb): |
| 378 | torch.cuda.synchronize() |
nothing calls this directly
no outgoing calls
no test coverage detected