liveBook · Manning

Deep learning framework

As explained in Natural Language Processing in Action, Second Edition

A deep learning framework is software that provides abstractions and computational support for constructing, training, and running neural-network models.

A deep learning framework supplies abstractions and computational support for constructing, training, and running neural-network models. It automates backpropagation: calculating gradients and adjusting weights to reduce loss. section 5.2.4

Framework choice affects how models are developed and deployed:

  • PyTorch offers a flexible, intuitive, Pythonic interface and is designed for GPU-based parallel processing. section 5.2.4
  • TensorFlow remains used for large-scale deployments and supporting tools and hardware, while Keras makes TensorFlow more accessible. section 5.2.4

Comparing frameworks with data

A pandas workflow reads a Wikipedia comparison of deep learning software, converts capability fields into scores, and ranks frameworks by portability. The resulting list places PyTorch first, followed by Apache MXNet and TensorFlow.

How Natural Language Processing in Action, Second Edition covers it

How deep it goes
Explains backpropagation’s gradient-and-weight process, then compares framework APIs, GPU support, deployment suitability, and ecosystem direction.
Examples
Uses a Wikipedia software-comparison table, pandas transformations, capability scoring, and a portability ranking led by PyTorch.
What you can do after
Apply it via PyTorch or TensorFlow to construct and train neural-network models, choosing APIs and deployment support deliberately.
How it connects
Connects backpropagation with neural networks, and connects PyTorch with TensorFlow, Keras, scikit-learn, GPUs, and custom training loops.

Also explained in

Compare how 3 books explain deep learning framework →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Natural Language Processing in Action, Second Edition. The section links point to the parts of the book it draws on.