Skip to main content

CheckpointContentsDigestProtocol

CheckpointContentsDigestProtocol Objects

class CheckpointContentsDigestProtocol(typing.Protocol)

The digest of a CheckpointContents.

next_lexicographical

def next_lexicographical() -> CheckpointContentsDigest

Returns the next digest in byte-increasing order.

next_lexicographical_opt

def next_lexicographical_opt() -> typing.Optional[CheckpointContentsDigest]

Returns the next digest in byte-increasing order, or None if the result would overflow.