1.TensorFlow提供Python语言下的四个不同版本:CPU版本(tensorflow)、包含GPU加速的版本(tensorflow-gpu),以及它们的每日编译版本(tf-nightly、tf-nightly-gpu)。
2.TensorFlow的Python版本支持Ubuntu 16.04、Windows 7、macOS 10.12.6 Sierra、Raspbian 9.0及对应的更高版本,其中macOS版不包含GPU加速
3.安装Python版TensorFlow可以使用模块管理工具pip/pip3
或anaconda并在终端直接运行。
pip install tensorflow
conda install -c conda-forge tensorflow