Skip to content

Commit

Permalink
Make 3D gradcheck test use less memory
Browse files Browse the repository at this point in the history
  • Loading branch information
Allard Hendriksen committed May 26, 2021
1 parent ee43f4f commit 081fd6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion msd_pytorch/tests/test_conv3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ def test_grad_check():
C_OUT = 2 # Output channels
D = 11 # Depth
H = 13 # Height
W = 21 # Width
W = 7 # Width
dilation = 3 # Dilation

x = torch.randn(B, C_IN, D, H, W, dtype=dtype, requires_grad=True).cuda()
Expand Down

0 comments on commit 081fd6d

Please sign in to comment.