<分区>
所以,我是 TensorFlow 的新手,并且才刚刚开始学习它。我使用“pip”命令在 IDE Canopy 上安装了 TensorFlow。
在确认是否安装正确的同时,我输入了以下代码:
import tensorflow as tf
hello = tf.constant('Hello, TensorFlow!')
sess = tf.Session()
print(sess.run(hello))
这应该给出一个输出:
Hello, TensorFlow!
相反,我得到一个额外的字母“b”,在此之前,例如:
b'Hello, TensorFlow!'
这是一个需要解决的问题,还是可以,如果我对此不做任何事情就可以了? 非常感谢。