Learn Before
Concept

Direct Parameter Assignment

Beyond using predefined or custom initialization functions, deep learning frameworks offer the flexibility of setting parameter values directly. Practitioners can access the underlying tensor data of a model's weights and apply direct mutations, such as adding a constant to all elements or assigning a specific numerical value to an exact matrix index. This direct assignment provides granular control over individual parameter values after their initial creation.

0

1

Updated 2026-05-09

Contributors are:

Who are from:

Tags

D2L

Dive into Deep Learning @ D2L