PyTorch torch.get_deterministic_debug_mode function
PyTorch torch reference manual
torch.get_deterministic_debug_mode A function in PyTorch for getting the deterministic debug mode.
Function definition
torch.get_deterministic_debug_mode()
Usage examples
Example
import
torch
Get the current deterministic debug mode
mode
=
torch.
get_deterministic_debug_mode
(
)
(
"Current deterministic debug mode:"
,
mode
)
Return value description:
- 0 - Off
- 1 - On but warn only
- 2 - On and raise errors