Expand description
Input/Output facilities for storing crate::TensorMap and
crate::Labels on disk
Functionsยง
- load
- Load the serialized tensor map from the given path.
- load_
block - Load previously saved
TensorBlockfrom the file at the given path. - load_
block_ buffer - Load a serialized
TensorBlockfrom abuffer. - load_
buffer - Load a serialized
TensorMapfrom abuffer. - load_
labels - Load previously saved
Labelsfrom the file at the given path. - load_
labels_ buffer - Load previously saved
Labelsfrom an in-memorybuffer. - save
- Save the given tensor to a file.
- save_
block - Save the given
blockto a file. - save_
block_ buffer - Save the given
blockto an in-memorybuffer. - save_
buffer - Save the given
tensorto an in-memorybuffer. - save_
labels - Save the given
Labelsto a file. - save_
labels_ buffer - Save the given
labelsto an in-memorybuffer.