Parcourir la source

Merge pull request #107 from VikramTiwari/patch-1

Update basic_operations.ipynb
Aymeric Damien il y a 8 ans
Parent
commit
176ba8cd08
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      notebooks/1_Introduction/basic_operations.ipynb

+ 1 - 1
notebooks/1_Introduction/basic_operations.ipynb

@@ -59,7 +59,7 @@
    "source": [
     "# Launch the default graph.\n",
     "with tf.Session() as sess:\n",
-    "    print \"a=2, b=3\"\n",
+    "    print \"a: %i\" % sess.run(a), \"b: %i\" % sess.run(b)\n",
     "    print \"Addition with constants: %i\" % sess.run(a+b)\n",
     "    print \"Multiplication with constants: %i\" % sess.run(a*b)"
    ]