March 2026
Intermediate to advanced
544 pages
15h 56m
English
nn moduleSo far, we’ve taken a close look at how a linear model can learn and how to make that happen in PyTorch. We’ve focused on a very simple regression problem that used a linear model with only one input and one output. Such a simple example allowed us to dissect the mechanics of a model that learns, without getting overly distracted by the implementation of the model itself. As we saw in the overview diagram in figure 5.2 (repeated here as figure 6.1), the exact details of a model are not needed to understand the ...
Read now
Unlock full access