Skip to content

Instantly share code, notes, and snippets.

@hackintoshrao
Created December 22, 2020 12:33
Show Gist options
  • Save hackintoshrao/0d4ad62f323ba1163176308d07d6df84 to your computer and use it in GitHub Desktop.
Save hackintoshrao/0d4ad62f323ba1163176308d07d6df84 to your computer and use it in GitHub Desktop.
Tensorflow basics
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