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

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. 

主站蜘蛛池模板: 驻马店市| 稻城县| 韶山市| 剑河县| 苍山县| 乐安县| 融水| 武定县| 昭苏县| 罗源县| 张家界市| 凤冈县| 白山市| 永仁县| 乌苏市| 肃北| 彭泽县| 长寿区| 和平区| 景德镇市| 武宣县| 仪陇县| 石门县| 普格县| 加查县| 阿拉善左旗| 小金县| 汉中市| 凭祥市| 当涂县| 勃利县| 阿拉尔市| 仲巴县| 方正县| 襄垣县| 千阳县| 固始县| 乌审旗| 万州区| 江陵县| 莱芜市|