We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fb2d34 commit ee02a6dCopy full SHA for ee02a6d
test/layer_conv_test.py
@@ -50,7 +50,7 @@ def test_Atrous_Conv2d():
50
sess.run(init)
51
out = sess.run(y_sb, feed_dict={X_ph:np.random.rand(32, h, w, c)})
52
print(out.shape)
53
- assert out.shape[1] == h - 2*((k+(k-1)*(r-1))/2), out.shape[2] == w - 2*((w+(w-1)*(r-1))/2)
+ assert out.shape[1] == h - 2*int((k+(k-1)*(r-1))/2), out.shape[2] == w - 2*int((w+(w-1)*(r-1))/2)
54
55
56
0 commit comments