python代码:测试tensorflow安装导入成功

import tensorflow as tf
hello = tf.constant('Hello, TensorFlow!')
sess = tf.Session()
print(sess.run(hello))

你可能感兴趣的:(Python,tensorflow导入,tensorflow安装测试)