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 490b33f commit 1859af2Copy full SHA for 1859af2
LeNet-Lab-Solution.ipynb
@@ -197,9 +197,9 @@
197
"\n",
198
" # SOLUTION: Flatten Layer.\n",
199
" fc1 = flatten(conv2)\n",
200
+ " fc1_shape = (fc1.get_shape().as_list()[-1], 120)\n",
201
" \n",
202
" # SOLUTION: Fully Connected Layer 1. Input = 5x5x16. Output = 120.\n",
- " fc1_shape = (fc1.get_shape().as_list()[-1], 120)\n",
203
" fc1_W = tf.Variable(tf.truncated_normal(shape=(fc1_shape)))\n",
204
" fc1_b = tf.Variable(tf.zeros(120))\n",
205
" fc1 = tf.matmul(fc1, fc1_W) + fc1_b\n",
0 commit comments