Author: Srnivas Cheemalapati

This is your first tensor flow notebook You can press shift + enter to quickly advance through each line of a notebook. Try it now!

This snippet of Python prints a value in the variable.


In [ ]:
# We are going to us Tensor Flow libraries, so import them
import tensorflow as tf

# create a variable 
greeting = tf.constant('Hello, World!')

# Tensor Flow requires a run time session created for deployment
sess = tf.Session()

# Print the result to check everything is working
print(sess.run(greeting))

If you see "Hello, World!", success with first Tensor Flow program on IBM Data Science Experience.


In [ ]: