1. 安装
真正从零开始,TensorFlow 详细安装入门图文教程:
http://www.leiphone.com/news/201606/ORlQ7uK3TIW8xVGF.html
2. 试用
第一个Demo: test.py
import tensorflow as tf
hello = tf.constant(‘Hello, TensorFlow!’)
sess = tf.Session()
print sess.run(hello)
a = tf.constant(10)
b = tf.constant(32)
print sess.run(a+b)