Skip to content

Commit

Permalink
ch15 style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rasbt committed Sep 6, 2017
1 parent e0f32ed commit 99b6625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/ch15/ch15.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@
" res.append([])\n",
" for j in range(0, int((X_padded.shape[1] - \n",
" W_rot.shape[1])/s[1])+1, s[1]):\n",
" X_sub = X_padded[i:i+W_rot.shape[0],j:j+W_rot.shape[1]]\n",
" X_sub = X_padded[i:i+W_rot.shape[0], j:j+W_rot.shape[1]]\n",
" res[-1].append(np.sum(X_sub * W_rot))\n",
" return(np.array(res))\n",
" \n",
Expand Down

0 comments on commit 99b6625

Please sign in to comment.