TensorFlow(12)“hello world”

2017-08-19  本文已影响0人  操作系统
import tensorflow as tf
print("tf.version:",tf.__version__)

hello = tf.constant("Hello,world!")
sess = tf.Session()
print(sess.run(hello))
上一篇 下一篇

猜你喜欢

热点阅读