Concept
Parameter Access in Sequential Models
In deep learning frameworks, the parameters of any specific layer within a Sequential model can be accessed systematically. For most frameworks, this involves indexing directly into the model as if it were a list to select the desired layer, and then retrieving its parameters (such as weights and biases) through framework-specific attributes. In frameworks that decouple the model architecture from its parameters, the parameters are instead accessed using specific layer keys within an initialized parameters dictionary.
0
1
Updated 2026-05-07
Tags
D2L
Dive into Deep Learning @ D2L