Skip to content

Commit 997fdb2

Browse files
authored
Merge pull request #34 from dhingratul/patch-1
bug fix
2 parents d4802b4 + 9eb608b commit 997fdb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Convolutional Neural Networks/Convolution model - Step by Step - v1.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -846,9 +846,9 @@
846846
" for c in range(n_C): # loop over the channels of the output volume\n",
847847
" \n",
848848
" # Find the corners of the current \"slice\"\n",
849-
" vert_start = h\n",
849+
" vert_start = h * stride\n\n",
850850
" vert_end = vert_start + f\n",
851-
" horiz_start = w\n",
851+
" horiz_start = w * stride\n\n",
852852
" horiz_end = horiz_start + f\n",
853853
" \n",
854854
" # Use the corners to define the slice from a_prev_pad\n",

0 commit comments

Comments
 (0)