Skip to content

Commit 38d1189

Browse files
committed
more notebooks added
1 parent 983acbf commit 38d1189

File tree

4 files changed

+1050
-8
lines changed

4 files changed

+1050
-8
lines changed

01_Introduction/03_Using_Variables_and_Placeholders/03_placeholders.ipynb

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@
8383
"name": "stdout",
8484
"output_type": "stream",
8585
"text": [
86-
"[[ 0.00858334 0.16610153 0.41885602 0.88935864]\n",
87-
" [ 0.2866537 0.00368538 0.07969997 0.37126487]\n",
88-
" [ 0.35291323 0.33622122 0.04039102 0.70073986]\n",
89-
" [ 0.76789761 0.40810189 0.29742569 0.03206369]]\n"
86+
"[[ 0.46375921 0.31559455 0.86665654 0.12972654]\n",
87+
" [ 0.9077422 0.49321386 0.01816663 0.2000093 ]\n",
88+
" [ 0.52083462 0.52363396 0.05546777 0.98415035]\n",
89+
" [ 0.53048414 0.93917197 0.05808467 0.14067334]]\n"
9090
]
9191
}
9292
],
@@ -97,11 +97,8 @@
9797
"# Create a Tensor to perform an operation (here, y will be equal to x, a 4x4 matrix)\n",
9898
"y = tf.identity(x)\n",
9999
"\n",
100-
"# Perform operation\n",
101-
"output = tf.mul(x, y)\n",
102-
"\n",
103100
"# Print the output, feeding the value of x into the computational graph\n",
104-
"print(sess.run(output, feed_dict={x: rand_array}))"
101+
"print(sess.run(y, feed_dict={x: rand_array}))"
105102
]
106103
},
107104
{

0 commit comments

Comments
 (0)