write_safetensors

Function write_safetensors 

Source
pub fn write_safetensors<B: Backend>(
    writer: &mut impl Write,
    tensors: &[(String, Tensor<B>)],
) -> Result<()>
Expand description

Write named tensors in safetensors format to a writer.