Skip to content

Commit

Permalink
Fix lint (open-mmlab#2702)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouzaida authored and akozlov-outrider committed May 8, 2023
1 parent 9a9e11a commit 90c6089
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_ops/test_conv_gradfix.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def test_conv2d_transposed_cuda(self):
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)

0 comments on commit 90c6089

Please sign in to comment.