官术网_书友最值得收藏!

TensorFlow

TensorFlow was initially developed by the Google Brain team to be used internally at Google, and was then to be released to the larger public. On November 9, 2015, it was distributed under the Apache 2.0 open source license, and since then it has become the most widespread open source software library for high-performance numerical computation (mostly used for deep learning). It is capable of computations across a variety of platforms (systems with multiple CPUs, GPUs, and TPUs), and from desktops to clusters of servers to mobile and edge devices.

In this book, we will use TensorFlow as the backend of Keras, that is, we won't use it directly, but we will need to have it running on our system:

Installing TensorFlow on a CPU system is quite straightforward: just use pip install tensorflow. But if you have an NVIDIA GPU (you actually need a GPU card with CUDA Compute Capability 3.0 or higher) on your system, the requirements ramp up and you first have to install the following:

  • CUDA Toolkit 9.0
  • The NVIDIA drivers associated with CUDA Toolkit 9.0
  • cuDNN v7.0

For each operation, you need to accomplish various steps depending on your system, as detailed on the NVIDIA website. You can find all the directions for installation depending on your system (Ubuntu, Windows, or macOS) at https://www.tensorflow.org/install/.

After having accomplished all the necessary steps, pip install tensorflow-gpu will install the TensorFlow package that's optimized for GPU computations.

主站蜘蛛池模板: 汶上县| 玛多县| 淮安市| 凤台县| 平昌县| 武山县| 星子县| 黎平县| 罗城| 双鸭山市| 磐安县| 上林县| 田东县| 鸡东县| 广元市| 山阳县| 广元市| 广昌县| 高淳县| 康乐县| 清远市| 怀集县| 沭阳县| 北辰区| 清镇市| 临朐县| 云林县| 洛阳市| 沈丘县| 平遥县| 沐川县| 神池县| 吉水县| 多伦县| 宜州市| 沙雅县| 方正县| 乡城县| 讷河市| 桐柏县| 瓮安县|