- Deep Learning with Theano
- Christopher Bourez
- 221字
- 2021-07-15 17:16:59
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.
- Dynamics 365 for Finance and Operations Development Cookbook(Fourth Edition)
- DevOps:軟件架構師行動指南
- TypeScript入門與實戰
- Learning AWS Lumberyard Game Development
- Instant QlikView 11 Application Development
- 青少年Python編程入門
- 運用后端技術處理業務邏輯(藍橋杯軟件大賽培訓教材-Java方向)
- Swift Playgrounds少兒趣編程
- Java實戰(第2版)
- 執劍而舞:用代碼創作藝術
- FPGA嵌入式項目開發實戰
- Python計算機視覺和自然語言處理
- Hadoop大數據分析技術
- Python應用與實戰
- Python機器學習開發實戰