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

Summary

The first concept is symbolic computing, which consists in building graph, that can be compiled and then executed wherever we decide in the Python code. A compiled graph is acting as a function that can be called anywhere in the code. The purpose of symbolic computing is to have an abstraction of the architecture on which the graph will be executed, and which libraries to compile it with. As presented, symbolic variables are typed for the target architecture during compilation.

The second concept is the tensor, and the operators provided to manipulate tensors. Most of these were already available in CPU-based computation libraries, such as NumPy or SciPy. They have simply been ported to symbolic computing, requiring their equivalents on GPU. They use underlying acceleration libraries, such as BLAS, Nvidia Cuda, and cuDNN.

The last concept introduced by Theano is automatic differentiation—a very useful feature in deep learning to backpropagate errors and adjust the weights following the gradients, a process known as gradient descent. Also, the scan operator enables us to program loops (while..., for...,) on the GPU, and, as other operators, available through backpropagation as well, simplifying the training of models a lot.

We are now ready to apply this to deep learning in the next few chapters and have a look at this knowledge in practice.

主站蜘蛛池模板: 南郑县| 纳雍县| 内黄县| 张家川| 关岭| 巴彦淖尔市| 嘉鱼县| 巩留县| 通榆县| 句容市| 福州市| 皋兰县| 伊宁县| 南乐县| 永定县| 微博| 民权县| 永城市| 简阳市| 五华县| 米林县| 大渡口区| 黔东| 乌审旗| 礼泉县| 大兴区| 武平县| 莱西市| 桃源县| 泾川县| 沽源县| 德化县| 岱山县| 宾阳县| 霸州市| 大宁县| 常德市| 银川市| 玉屏| 石河子市| 吐鲁番市|