From 7eaf2e35c3a60f18532dc81b8dfdb3e5f394907d Mon Sep 17 00:00:00 2001 From: lion187 Date: Wed, 13 Mar 2019 17:29:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=87=E4=BB=B6=20?= =?UTF-8?q?=E5=AE=89=E8=A3=85=5FTensorflow.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Software/Application/Tensorflow/安装_Tensorflow.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Software/Application/Tensorflow/安装_Tensorflow.md b/Software/Application/Tensorflow/安装_Tensorflow.md index b896195..5faa650 100644 --- a/Software/Application/Tensorflow/安装_Tensorflow.md +++ b/Software/Application/Tensorflow/安装_Tensorflow.md @@ -1,5 +1,7 @@ # 安装 Tensorflow +## 安装 + 注意区分 python2 还是 python3,使用 pip2 install numpy @@ -43,3 +45,15 @@ | 0.12.1 | 2016-12-20 | 更详细的版本历史请访问: + +## 验证 + +在 python 环境下输入以下指令进行验证 + + >>> import tensorflow as tf + >>> hello = tf.constant('Hello, TensorFlow!') + >>> sess = tf.Session() + >>> print(sess.run(hello)) + Hello, TensorFlow! + +如果能正确打印这说明安装成功。