Skip to content

Commit 98a5c99

Browse files
committed
remove debug code
1 parent 14038fe commit 98a5c99

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/test_nn.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1702,10 +1702,6 @@ def test_ConvTranspose2d_output_size(self):
17021702

17031703
def _test_Conv2d_naive_groups(self, test_type=torch.FloatTensor):
17041704
# Check that grouped convolutions matches two half convolutions
1705-
if(test_type == torch.cuda.FloatTensor):
1706-
print("worked")
1707-
else:
1708-
print("worked2")
17091705
m = nn.Conv2d(4, 4, kernel_size=3, groups=2).type(test_type)
17101706
i = Variable(torch.randn(2, 4, 6, 6).type(test_type), requires_grad=True)
17111707
output = m(i)

0 commit comments

Comments
 (0)