Created
January 25, 2019 14:43
-
-
Save axegon/a37e9bbb58e462eafb343783d22a94bd to your computer and use it in GitHub Desktop.
Revisions
-
axegon revised this gist
Jan 25, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,6 +9,6 @@ tf.global_variables_initializer() with tf.Session() as sess: result = sess.run(result) print(result) -
axegon created this gist
Jan 25, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ import numpy as np import tensorflow as tf np.random.seed(42) x = tf.constant(np.random.rand(3,3)) y = tf.constant(np.random.rand(3,3)) result = tf.matmul(x, y) tf.global_variables_initializer() with tf.Session() as sess: result = sess.run(result) print(result)