Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import tensorflow as tf
- import numpy as np
- init = tf.global_variables_initializer()
- sess = tf.Session()
- sess.run(init)
- #a = np.array([[1, 2, 3], [4, 5, 6]])
- #b = np.array([1, 2, 3])
- a = np.random.rand(300000,20000)
- b = np.random.rand(300000,20000)
- println("Init complete");
- result = tf.mul(a , b)
- v = sess.run(result)
- print(v)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement