(*args, **kwargs)
| 124 | torch_device_module.reset_peak_memory_stats() |
| 125 | except (RuntimeError, NotImplementedError): |
| 126 | pass |
| 127 | finally: |
| 128 | if stack and stack[-1] is self: |
| 129 | stack.pop() |
| 130 | elif self in stack: |
| 131 | stack.remove(self) |
nothing calls this directly
no outgoing calls
no test coverage detected