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.
Glossary: Deep Learning Basics
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.