• Docs >
  • torch >
  • torch.is_deterministic_algorithms_warn_only_enabled
Shortcuts

torch.is_deterministic_algorithms_warn_only_enabled

torch.is_deterministic_algorithms_warn_only_enabled()[源代码]

如果全局确定性标志设置为仅警告,则返回 True。 请参阅 torch.use_deterministic_algorithms() 文档以获取更多详细信息。

Return type

bool