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

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.

主站蜘蛛池模板: 嫩江县| 杭锦旗| 渭南市| 会东县| 丹东市| 呼和浩特市| 甘南县| 平塘县| 繁昌县| 新竹县| 韶山市| 鸡东县| 拉萨市| 大关县| 潮安县| 台东县| 鹤岗市| 郓城县| 疏附县| 汉中市| 桐庐县| 织金县| 绥滨县| 泽州县| 东乌珠穆沁旗| 沅陵县| 新营市| 弥勒县| 巨鹿县| 广昌县| 政和县| 卢湾区| 集贤县| 镇沅| 英德市| 依兰县| 开阳县| 安义县| 图们市| 阜新市| 延安市|