Learn Before
Frontend and Backend in Deep Learning Frameworks
Deep learning systems are typically structured with a frontend for direct user interaction—often utilizing languages like Python or C++—and a backend that manages the actual computations. Operations triggered by the frontend are seamlessly forwarded to the backend, which is implemented in highly optimized C++ for maximum performance. This backend maintains dedicated threads that continuously gather and execute queued tasks. The primary advantage of this architecture is that the frontend thread is spared from performing intensive calculations, preventing the slower execution speed of languages like Python from bottlenecking the overall computational throughput.

0
1
Tags
D2L
Dive into Deep Learning @ D2L
Related
Criterion for Choosing a Deep Learning Framework
Deep Learning Frameworks References
Keras
TensorFlow
PyTorch
Theano
PaddlePaddle
mxnet
Lasagne
DL4J
CNTK
Caffe
PyTorch vs TensorFlow
Trade-offs of High-Level APIs in Deep Learning
Productivity Gains in Deep Learning Implementation
DistBelief
Symbolic Programming
Comparison of Imperative and Symbolic Programming
Frontend and Backend in Deep Learning Frameworks