- execution speed optimizations: Theano can use g++ or nvcc to compile parts your expression graph into CPU or GPU instructions, which run much faster than pure Python.
- symbolic differentiation: Theano can automatically build symbolic graphs for computing gradients.
stability optimizations: Theano can recognize [some] numerically unstable expressions and compute them with more stable algorithms.
三大特点:速度优化,符号求导和计算的稳定性。速度优化是theano.function在编译的时候会通过g++或者nvcc来编译cpu或者gpu的版本。theano内部构建图,从而自动求导,类似于google的sympy。
Try to play theano
最新推荐文章于 2019-06-28 13:47:22 发布