Learn Before
Saving and Loading Individual Tensors
Deep learning frameworks provide dedicated functions to serialize and deserialize individual tensors to and from persistent storage. By directly invoking framework-specific functions such as load and save, a practitioner can write a tensor's data to a file by providing a target file name and the corresponding tensor variable. The serialized data can subsequently be read from the stored file back into memory when needed.
0
1
Tags
D2L
Dive into Deep Learning @ D2L
Related
Vector (1D Tensor)
Tensor Indexing
Tensor to NumPy Array Conversion
Size-1 Tensor to Python Scalar Conversion
jax.numpy.array()
Typographical Conventions for General Tensors
Single Image Representation as a 3rd-Order Tensor
Programmatic Construction of Higher-Order Tensors
Tensor-Scalar Arithmetic
Tensor Concatenation
Elementwise Tensor Operation
Tensor Element Summation
Tensor Class Interface Summary
Vector
Tensor Initialization with Zeros
Tensor Initialization with Ones
Evenly Spaced Tensor Initialization
Random Tensor Initialization
Programmatic Construction of Tensors from Nested Lists
Tensor as a Software Object
Tensor Decomposition
Element of a Tensor
Saving and Loading Individual Tensors