Tensorflow学习笔记

安装Anaconda
https://www.anaconda.com/download/
安装pip
https://pip.pypa.io/en/stable/installing/
python -m pip install tensorflow

坑Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
import os
os.environ['TF_CPP_MIN_LOG_LEVEL']='2'
import tensorflow as tf
第一个程序
import os
os.environ['TF_CPP_MIN_LOG_LEVEL']='2'
import tensorflow as tf

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


发表于:2017-11-14 14:30:46

原文链接(转载请保留): http://www.multisilicon.com/blog/a22314148.html

友情链接: MICROIC
首页