Last active
February 3, 2018 09:25
-
-
Save NMZivkovic/d6a236bd71d7db117f7cb8ca08a53fb6 to your computer and use it in GitHub Desktop.
This file contains 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 characters
import tensorflow as tf | |
const1 = tf.constant([[1,2,3], [1,2,3]]); | |
const2 = tf.constant([[3,4,5], [3,4,5]]); | |
result = tf.add(const1, const2); | |
with tf.Session() as sess: | |
output = sess.run(result) | |
print(output) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment