Unverified Commit 30fd10bd authored by Edward Z. Yang's avatar Edward Z. Yang Committed by GitHub
Browse files

Replace set_deterministic with non-deprecated spelling (#4212)


Signed-off-by: default avatarEdward Z. Yang <ezyang@fb.com>
parent 8d540228
......@@ -719,7 +719,7 @@ def test_autocontrast(device, dtype):
@pytest.mark.parametrize('device', cpu_and_gpu())
def test_equalize(device):
torch.set_deterministic(False)
torch.use_deterministic_algorithms(False)
check_functional_vs_PIL_vs_scripted(
F.equalize,
F_pil.equalize,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment