运行第一个TensorFlow程序:
打开cmd
>activate tensorbase (用自己的环境名称,不一定是tenorbase,可通过conda env list来查询)
>python
>>> import tensorflow as tf
>>> message = tf.constant('Welcome to the exciting world of Deep Neural Networks!')
>>>with tf.Session() as sess:
print(sess.run(message).decode())
输出结果: