torch.is_deterministic_algorithms_warn_only_enabled

torch.is_deterministic_algorithms_warn_only_enabled()[源代码]

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

返回类型

bool

本页目录