ray.air.checkpoint.Checkpoint.to_bytes#

Checkpoint.to_bytes() bytes[source]#

Return Checkpoint serialized as bytes object.

Returns

Bytes object containing checkpoint data.

Return type

bytes