pub fn save(path: impl AsRef<Path>, tensor: &TensorMap) -> Result<(), Error>Expand description
Save the given tensor 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.
The format used is documented in the load function, and consists of a
zip archive containing NPY files.