Learn Before
Code

D2L Save Modifier

In the Dive into Deep Learning (D2L) textbook ecosystem, the special comment modifier #@save is used within code cells. This modifier acts as an instruction to automatically save the associated function, class, or code block into the d2l package, allowing the code to be invoked in later sections without needing to be rewritten.

0

1

Updated 2026-05-02

Contributors are:

Who are from:

Tags

D2L

Dive into Deep Learning @ D2L