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
TensorBlock
from the file at the given path. - load_
block_ buffer - Load a serialized
TensorBlock
from abuffer
. - load_
buffer - Load a serialized
TensorMap
from abuffer
. - load_
labels - Load previously saved
Labels
from the file at the given path. - load_
labels_ buffer - Load previously saved
Labels
from an in-memorybuffer
. - save
- Save the given tensor to a file.
- save_
block - Save the given
block
to a file. - save_
block_ buffer - Save the given
block
to an in-memorybuffer
. - save_
buffer - Save the given
tensor
to an in-memorybuffer
. - save_
labels - Save the given
Labels
to a file. - save_
labels_ buffer - Save the given
labels
to an in-memorybuffer
.