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