Skip to content

Commit

Permalink
layout fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rasbt committed Sep 12, 2017
1 parent d26032b commit 9e589c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/ch14/ch14.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -248,11 +248,11 @@
" b = tf.constant(2, name='b') \n",
" c = tf.constant(3, name='c') \n",
"\n",
" t = 2*(a-b) + c\n",
" z = 2*(a-b) + c\n",
" \n",
"## launch the graph\n",
"with tf.Session(graph=g) as sess:\n",
" print('2*(a-b)+c => ', sess.run(t))"
" print('2*(a-b)+c => ', sess.run(z))"
]
},
{
Expand Down Expand Up @@ -1331,7 +1331,7 @@
" t1 = tf.ones(shape=(10, 1), \n",
" dtype=tf.float32, name='t1')\n",
" t2 = tf.zeros(shape=(10, 1),\n",
" dtype=tf.float32, name='t1')\n",
" dtype=tf.float32, name='t2')\n",
" print(t1)\n",
" print(t2)\n",
" \n",
Expand Down

0 comments on commit 9e589c4

Please sign in to comment.