Custom Search

Wednesday, May 24, 2017

Tensorflow Hello World Program

$ python

Enter the following short program inside the python interactive shell:

import tensorflow as tf
hello = tf.constant('Hello, TensorFlow!')
sess = tf.Session()
print(sess.run(hello))

No comments:

Post a Comment