代码固定在下面:
import tensorflow as tf hello=tf.constant("hello,Python!") sess=tf.Session() print(sess.run(hello))
当前结果固定在下面:
“你好,Python!”
然后是截图
那么,我该怎么做才能去掉当前结果之前奇怪的“b”呢?
python tensorflow
python ×1
tensorflow ×1