Function save_block

Source
pub fn save_block(
    path: impl AsRef<Path>,
    block: TensorBlockRef<'_>,
) -> Result<(), Error>
Expand description

Save the given block to a file.

If the file already exists, it is overwritten. The recomended file extension when saving data is .mts, to prevent confusion with generic .npz.