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

  • Hands-On Neural Networks
  • Leonardo De Marchi Laura Mitchell
  • 240字
  • 2021-06-24 14:00:14

Keras

Now that you have seen how to implement a perceptron from scratch in Python and have understood the concept, we can use a library to avoid re-implementing all of these algorithms. Luckily, there are plenty of libraries that make it possible for us to focus on the architecture and the composition of the network without having to lose time in too many implementation issues.

In particular, the main breakthrough of the last decade, and what has made the deep learning evolution so rapid, is the use of graphics cards. In particular, NVIDIA created CUDA, a programming interface that made it possible to use all of the power of modern Graphical Processing Unit (GPU) for general programming. A GPU is a piece of hardware primarily designed to render images; it contains a much higher number of cores compared to a CPU, but these cores are only capable of performing simple operations. They are ideal for matrix multiplication, and that's why they are able to speed up the computational time, even by 100, compared to a CPU.

TensorFlow is a library that uses CUDA to interact with the GPU, but it can also run on a normal CPU. Having a GPU is not necessary to run the examples in this book.

We will use Keras on top of TensorFlow, as it provides a high-level, Pythonic API that will allow us to quickly build even complex architectures. 

主站蜘蛛池模板: 叶城县| 利川市| 河北区| 平泉县| 漳平市| 巫溪县| 毕节市| 青岛市| 靖江市| 呼伦贝尔市| 西平县| 漯河市| 锦州市| 涿鹿县| 电白县| 江津市| 揭东县| 德化县| 娱乐| 黄龙县| 桂平市| 弋阳县| 鲁甸县| 资溪县| 芮城县| 华亭县| 湖南省| 同仁县| 黑龙江省| 思茅市| 金秀| 道孚县| 绥宁县| 化州市| 甘谷县| 铜陵市| 兴安盟| 开平市| 布拖县| 皮山县| 都兰县|