After installing tensorflow and running the short program following instructions at tensorflow site
import tensorflow as tf
hello = tf.constant('Hello, TensorFlow!')
sess = tf.Session()
print(sess.run(hello))
The expected result is
Hello, TensorFlow!
But I get b'Hello, TensorFlow!'
Note that the result differ in that b
is prepended and ouput itself is in single qoutes.
Is there something that I am missing? I had earlier done the same example on Windows (Anaconda) and got same result. I installed only the CPU one.
Thanks.