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 a7e2f5a commit 8a8a27eCopy full SHA for 8a8a27e
cnn_class/custom_blur.py
@@ -28,7 +28,7 @@ def convolve2d(X, W):
28
# Y = np.zeros((n1 + m1 - 1, n2 + m2 - 1))
29
# for i in xrange(n1):
30
# for j in xrange(n2):
31
-# Y[i:i+m1,j:j+m1] += X[i,j]*W
+# Y[i:i+m1,j:j+m2] += X[i,j]*W
32
# print "elapsed time:", (datetime.now() - t0)
33
# return Y
34
@@ -39,7 +39,7 @@ def convolve2d(X, W):
39
40
41
42
43
# ret = Y[m1/2:-m1/2+1,m2/2:-m2/2+1]
44
# assert(ret.shape == X.shape)
45
# return ret
@@ -51,7 +51,7 @@ def convolve2d(X, W):
51
52
53
54
55
# ret = Y[m1-1:-m1+1,m2-1:-m2+1]
56
57
0 commit comments