W3cubDocs

/PyTorch 2.9

torch.is_deterministic_algorithms_warn_only_enabled

torch.is_deterministic_algorithms_warn_only_enabled() [source]

Returns True if the global deterministic flag is set to warn only. Refer to torch.use_deterministic_algorithms() documentation for more details.

Return type

bool

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