Skip to content

Commit

Permalink
minor cosmetic fixes in nb ch 15
Browse files Browse the repository at this point in the history
  • Loading branch information
rasbt committed Jun 30, 2018
1 parent 55cc4c8 commit 7808f9f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/ch15/ch15.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1588,10 +1588,10 @@
" logits=h4, labels=tf_y_onehot),\n",
" name='cross_entropy_loss')\n",
" \n",
" ## Optimizer:\n",
" ## Optimizer\n",
" optimizer = tf.train.AdamOptimizer(self.learning_rate)\n",
" optimizer = optimizer.minimize(cross_entropy_loss,\n",
" name='train_op')\n",
" name='train_op')\n",
"\n",
" ## Finding accuracy\n",
" correct_predictions = tf.equal(\n",
Expand Down Expand Up @@ -1819,7 +1819,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.1"
"version": "3.6.5"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 7808f9f

Please sign in to comment.