torch.are_deterministic_algorithms_enabled

torch.are_deterministic_algorithms_enabled() [source]

Returns True if the global deterministic flag is turned on. Refer to torch.use_deterministic_algorithms() documentation for more details.

Return type

bool

© 2024, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://pytorch.org/docs/2.1/generated/torch.are_deterministic_algorithms_enabled.html