torch.is_deterministic_algorithms_warn_only_enabled¶ torch.is_deterministic_algorithms_warn_only_enabled()[原始碼][原始碼]¶ 如果全域決定性標記設定為僅警告模式,則傳回 True。有關更多詳細資訊,請參閱 torch.use_deterministic_algorithms() 文件。 傳回類型 bool