Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
30fd10bd
Unverified
Commit
30fd10bd
authored
Jul 27, 2021
by
Edward Z. Yang
Committed by
GitHub
Jul 27, 2021
Browse files
Replace set_deterministic with non-deprecated spelling (#4212)
Signed-off-by:
Edward Z. Yang
<
ezyang@fb.com
>
parent
8d540228
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
test/test_functional_tensor.py
test/test_functional_tensor.py
+1
-1
No files found.
test/test_functional_tensor.py
View file @
30fd10bd
...
...
@@ -719,7 +719,7 @@ def test_autocontrast(device, dtype):
@
pytest
.
mark
.
parametrize
(
'device'
,
cpu_and_gpu
())
def
test_equalize
(
device
):
torch
.
se
t
_deterministic
(
False
)
torch
.
u
se_deterministic
_algorithms
(
False
)
check_functional_vs_PIL_vs_scripted
(
F
.
equalize
,
F_pil
.
equalize
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment