torch.is_deterministic_algorithms_warn_only_enabled¶ torch.is_deterministic_algorithms_warn_only_enabled()[source][source]¶ 如果全局确定性算法标志设置为仅警告模式,则返回 True。有关详细信息,请参阅 torch.use_deterministic_algorithms() 文档。 返回类型 bool