pub fn write_checkpoint<B: Backend>( writer: &mut impl Write, tensors: &[(String, Tensor<B>)], ) -> Result<()>
Write a set of named tensors to a writer in the Shrew checkpoint format.