1.安装anaconda

windows10下TensorFlow安装记录

安装最新版:https://repo.anaconda.com/archive/Anaconda3-5.3.0-Windows-x86_64.exe

加入环境变量:

path加anaconda安装目录

path加anaconda安装目录/scripts

 

 

2。通过conda安装TensorFlow

conda install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl
conda install tensorflow
等运行完检查包可发现
windows10下TensorFlow安装记录

 

 

3.Hello World

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))

windows10下TensorFlow安装记录

 

 

相关文章:

  • 2021-07-24
  • 2021-05-01
  • 2021-10-03
  • 2021-11-07
  • 2021-07-27
  • 2021-08-07
  • 2021-12-10
猜你喜欢
  • 2021-04-22
  • 2021-10-01
  • 2021-08-18
  • 2021-12-15
  • 2021-07-10
  • 2021-05-29
  • 2022-12-23
相关资源
相似解决方案