liveBook · Manning

Pruning

As explained in Deep Learning with R, Third Edition

Pruning is the removal of selected model parameters or computational structures to reduce model size or computation.

Pruning removes less significant coefficients from weight tensors, reducing a model’s parameter count, memory use, and computation with a potentially small performance cost. section 6.3.2

Use pruning when deploying inference models on smartphones, embedded devices, or low-latency applications. Adjust its level to balance model size and accuracy before exporting or importing the model for deployment. section 6.3.2

How Deep Learning with R, Third Edition covers it

How deep it goes
Defines weight pruning and its tradeoff, but does not detail pruning algorithms or implementation steps.
Examples
Uses weight tensors, smartphones, embedded devices, and low-latency applications as deployment examples.
What you can do after
Apply it by tuning pruning intensity to trade model size and computation against predictive performance.
How it connects
Connects pruning with model optimization, inference, quantization, TensorFlow.js, and TensorFlow Lite.

Also explained in

Compare how 7 books explain pruning →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Deep Learning with R, Third Edition. The section links point to the parts of the book it draws on.