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
MMCV
Commits
1db3967e
Unverified
Commit
1db3967e
authored
Mar 26, 2023
by
Zaida Zhou
Committed by
GitHub
Mar 26, 2023
Browse files
Fix lint (#2702)
parent
5b0cdccc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tests/test_ops/test_conv_gradfix.py
tests/test_ops/test_conv_gradfix.py
+2
-1
No files found.
tests/test_ops/test_conv_gradfix.py
View file @
1db3967e
...
...
@@ -37,6 +37,7 @@ class TestCond2dTansposed:
weight
=
self
.
weight
.
cuda
()
res
=
conv_transpose2d
(
x
,
weight
,
None
,
1
,
1
)
assert
res
.
shape
==
(
1
,
1
,
32
,
32
)
gradcheck
(
conv_transpose2d
,
(
x
,
weight
,
None
,
1
,
1
),
eps
=
1e-2
,
atol
=
1e-2
)
gradcheck
(
conv_transpose2d
,
(
x
,
weight
,
None
,
1
,
1
),
eps
=
1e-2
,
atol
=
1e-2
)
gradgradcheck
(
conv_transpose2d
,
(
x
,
weight
,
None
,
1
,
1
),
eps
=
1e-2
,
atol
=
1e-2
)
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