liveBook · Manning

Reuse

As explained in Deep Learning with R, Third Edition

Reuse is the application of an existing module, representation, or operation in multiple contexts instead of reimplementing it.

Reuse applies an existing module, representation, or operation in multiple contexts instead of reimplementing it. Together with modularity and hierarchy, it turns complex systems into organized structures. section 9.1

Reuse appears throughout software and deep learning:

  • Software reuses classes and functions rather than implementing the same behavior twice. section 9.1
  • Deep learning reuses layers, repeated blocks, and convolution operations across spatial locations. section 9.1
  • Reusable trained models can support new tasks with little or no retraining, enabling continuous online learning and foundation models. section 1.7
  • Future AI systems may recombine robust functions and classes from shared component libraries instead of training every task from scratch. section 19.4.6

Repeated convolutional blocks

Xception organizes its entry flow into repeated SeparableConv–SeparableConv–MaxPooling blocks. Repeating the same architectural pattern helps build a deeper hierarchy while feature maps shrink and become richer. section 9.1

Figure 9.1 Complex systems follow a hierarchical structure and are organized into distinct modules, which are reused multiple times (such as your 4 limbs, which are all variants of the same blueprint, or your 20 digits).
figure

Use the figure to see how complex systems separate into modules, arrange those modules hierarchically, and reuse them across multiple locations. section 9.1

How Deep Learning with R, Third Edition covers it

How deep it goes
Explains reuse conceptually through software classes, functions, layers, convolution, and repeated blocks without implementation details.
Examples
Uses reusable classes and functions, convolution across spatial locations, repeated Xception blocks, and repurposed foundation models.
What it assumes
Assumes familiarity with software classes and functions as an accessible analogy for architectural reuse.
What you can do after
Apply reuse by structuring systems into modules, arranging hierarchies, and reapplying components across tasks or locations.
How it connects
Connects reuse to modularity, hierarchy, abstraction, convolution, gradient descent, foundation models, and lifelong learning.

Also explained in

Compare how 6 books explain reuse →

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.