(self)
| 317 | |
| 318 | @property |
| 319 | def current_stream(self): |
| 320 | if self._current_stream == -1: |
| 321 | return torch.cuda.current_stream().cuda_stream |
| 322 | else: |
| 323 | return self._current_stream |
| 324 | |
| 325 | @current_stream.setter |
| 326 | def current_stream(self, stream: int): |
no outgoing calls