pub fn write_safetensors<B: Backend>( writer: &mut impl Write, tensors: &[(String, Tensor<B>)], ) -> Result<()>
Write named tensors in safetensors format to a writer.