torch.are_deterministic_algorithms_enabled¶ torch.are_deterministic_algorithms_enabled()[原始碼][原始碼]¶ 如果全域性確定性標誌已開啟,則返回 True。更多詳細資訊請參閱 torch.use_deterministic_algorithms() 文件。 返回型別 bool