We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4b8f53 commit 7f3c423Copy full SHA for 7f3c423
torch/cuda/__init__.pyi
@@ -40,3 +40,5 @@ def max_memory_cached(device: Optional[_device_t]=...) -> int: ...
40
def reset_max_memory_cached(device: Optional[_device_t]=...) -> None: ...
41
def cudart() -> ctypes.CDLL: ...
42
def find_cuda_windows_lib() -> Optional[ctypes.CDLL]: ...
43
+def set_rng_state(new_state): ...
44
+def get_rng_state(): ...
0 commit comments