torch.are_deterministic_algorithms_enabled¶ torch.are_deterministic_algorithms_enabled()[源代码][源代码]¶ 如果全局确定性标志已开启,则返回 True。 有关更多详细信息,请参阅 torch.use_deterministic_algorithms() 文档。 返回类型 bool