Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

PyTorch torch.get_deterministic_debug_mode function

PyTorch torch.get_deterministic_debug_mode function


PyTorch torch reference manual 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

(

)

print

(

"Current deterministic debug mode:"

,

mode

)

Return value description:


PyTorch torch reference manual PyTorch torch reference manual