pub fn write_safetensors(
path: &Path,
tensors: &HashMap<String, OutputTensor>,
metadata: HashMap<String, String>,
) -> Result<()>Expand description
Serializes tensors/metadata (see serialize_safetensors) directly to a .safetensors
file at path.