Skip to content

Glossary: Deep Learning Basics

copy.deepcopy

Also written: deepcopy, deep copy

Makes a fully independent snapshot of an object. It is needed when storing `model.state_dict()`, which otherwise returns live tensors that later training steps change.

Where the book teaches it

Related terms

state_dictEarly stopping