import tensorflow as tf
hello = tf.constant('hello, chenjun!')
sess = tf.Session()
print(sess.run(hello))
>>>b'hello, chenjun!'
Tensorflow100天—打印常量
最新推荐文章于 2020-11-25 21:50:20 发布
import tensorflow as tf
hello = tf.constant('hello, chenjun!')
sess = tf.Session()
print(sess.run(hello))
>>>b'hello, chenjun!'