Skip to content

Instantly share code, notes, and snippets.

@frenzy2106
Created February 17, 2020 12:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frenzy2106/112d03b16f1dc82ac468572fedd57f70 to your computer and use it in GitHub Desktop.
Save frenzy2106/112d03b16f1dc82ac468572fedd57f70 to your computer and use it in GitHub Desktop.
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