pub fn serialize_checkpoint(
ckpt: &OptimizerCheckpoint,
format: CheckpointFormat,
) -> Result<Vec<u8>, CheckpointError>Expand description
Serialize an OptimizerCheckpoint to bytes using the chosen format.
pub fn serialize_checkpoint(
ckpt: &OptimizerCheckpoint,
format: CheckpointFormat,
) -> Result<Vec<u8>, CheckpointError>Serialize an OptimizerCheckpoint to bytes using the chosen format.