更新 CUDA 信息

This commit is contained in:
lion187 2019-03-13 17:48:48 +08:00
parent 64e9cf00d4
commit c57753d251

View File

@ -46,6 +46,8 @@
更详细的版本历史请访问:<https://pypi.org/project/tensorflow/#history> 更详细的版本历史请访问:<https://pypi.org/project/tensorflow/#history>
如果要安装 GPU 版本,需要 GPU 支持 CUDA并且先安装 NVIDIA CUDA 包,如需查询哪些 GPU 支持 CUDA并且想了解性能可访问<https://developer.nvidia.com/cuda-gpus>
## 验证 ## 验证
在 python 环境下输入以下指令进行验证 在 python 环境下输入以下指令进行验证
@ -56,8 +58,8 @@
>>> print(sess.run(hello)) >>> print(sess.run(hello))
Hello, TensorFlow! Hello, TensorFlow!
>>> a = tf.constant(10) >>> a = tf.constant(10)
>>> b = tf.constant(32) >>> b = tf.constant(32)
>>> print sess.run(a+b) >>> print sess.run(a+b)
42 42
如果能正确打印,则说明安装成功。 如果能正确打印,则说明安装成功。