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 d26032b commit 9e589c4Copy full SHA for 9e589c4
code/ch14/ch14.ipynb
@@ -248,11 +248,11 @@
248
" b = tf.constant(2, name='b') \n",
249
" c = tf.constant(3, name='c') \n",
250
"\n",
251
- " t = 2*(a-b) + c\n",
+ " z = 2*(a-b) + c\n",
252
" \n",
253
"## launch the graph\n",
254
"with tf.Session(graph=g) as sess:\n",
255
- " print('2*(a-b)+c => ', sess.run(t))"
+ " print('2*(a-b)+c => ', sess.run(z))"
256
]
257
},
258
{
@@ -1331,7 +1331,7 @@
1331
" t1 = tf.ones(shape=(10, 1), \n",
1332
" dtype=tf.float32, name='t1')\n",
1333
" t2 = tf.zeros(shape=(10, 1),\n",
1334
- " dtype=tf.float32, name='t1')\n",
+ " dtype=tf.float32, name='t2')\n",
1335
" print(t1)\n",
1336
" print(t2)\n",
1337
0 commit comments