From 7808f9fe460489329478e6d18ab8a931ba81c171 Mon Sep 17 00:00:00 2001 From: rasbt Date: Sat, 30 Jun 2018 00:05:57 -0400 Subject: [PATCH] minor cosmetic fixes in nb ch 15 --- code/ch15/ch15.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/ch15/ch15.ipynb b/code/ch15/ch15.ipynb index c50d536..8e4f35e 100644 --- a/code/ch15/ch15.ipynb +++ b/code/ch15/ch15.ipynb @@ -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", @@ -1819,7 +1819,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.6.1" + "version": "3.6.5" } }, "nbformat": 4,