【发布时间】:2018-09-21 13:23:57
【问题描述】:
当我尝试在 TensorFlow 中运行 hello world 程序时
import tensorflow as tf
hello = tf.constant('Hello, TensorFlow!')
sess = tf.Session()
print(sess.run(hello))
我得到了不同的输出格式,即
b'Hello, TensorFlow!'
但实际输出是
Hello, TensorFlow!
这是一个错误吗?还是我可以忽略? TensorFlow documentation
【问题讨论】:
标签: python-3.x machine-learning anaconda