Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Tensorflow 1.x example
import tensorflow as tf
x = tf.constant([1,2,3,4,5])
y = tf.constant([1,1,1,1,1])
a = tf.add(x,y)
print(a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.