Skip to content

Instantly share code, notes, and snippets.

@jskDr
Last active May 19, 2016 15:54
Show Gist options
  • Save jskDr/7c7d1d201793d51190207bc0ee918eef to your computer and use it in GitHub Desktop.
Save jskDr/7c7d1d201793d51190207bc0ee918eef to your computer and use it in GitHub Desktop.
Tensoflow - Very simple example: normal random generation
init = tf.initialize_all_variables()
a = tf.random_normal([2, 2, 2, 2])
with tf.Session() as sess:
sess.run(init)
x = sess.run(a)
x
@jskDr
Copy link
Author

jskDr commented May 19, 2016

I generated multiple dimensional random numbers using the Tensflow library.

@jskDr
Copy link
Author

jskDr commented May 19, 2016

The file name is updated from tf.random_normal.py to tf_random_normal.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment