TensorFlow basic
1. install Python 3.5+
2. install it with pip3
2.1 config aliyun mirror for pip3, because direct url is very slow
create %APPDATA%\pip\pip.ini file, and add below line to this file:
[global]
index-url = http://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host=mirrors.aliyun.com
2.2 install
pip3 install –upgrade tensorflow
3. test it
import tensorflow as tf
hello = tf.constant(‘Hello, TensorFlow!’)
sess = tf.Session()
print(sess.run(hello))