Learn Before
Concept
Saving and Loading Lists of Tensors
Beyond handling individual arrays, deep learning frameworks support the serialization and deserialization of ordered collections of tensors. A programmer can supply a list containing multiple tensors to the save function to store them together in a single file, and later use the load function to retrieve the entire list back into memory while preserving the sequential order of the underlying tensors.
0
1
Updated 2026-05-09
Tags
D2L
Dive into Deep Learning @ D2L