我刚刚安装了基于gpu的tensorflow,(from these instructions)并运行了测试代码,但是,我对输出感到困惑。在哪里我认为应该说:"你好,Tensorflow" 它说" b'你好Tensorflow"。
这是什么意思?为什么会有额外的角色?Python 3.5.2 (default, Nov 17 2016, 17:05:23)
[GCC 5.4.0 20160609] on linux
Type "copyright", "credits" or "license()" for more information.
>>> import tensorflow as tf
>>> hello = tf.constant('Hello, TensorFlow!')
>>> sess = tf.Session()
>>> print(sess.run(hello))
b'Hello, TensorFlow!'