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))
import tensorflow as tf
print("tf.version:",tf.__version__)
hello = tf.constant("Hello,world!")
sess = tf.Session()
print(sess.run(hello))