示例#1
0
def checkpoint_now(s):
    """Save current state"""
    global CHECKPOINT
    CHECKPOINT = osmt.copy(s)
示例#2
0
def retry(s):
    """Load last checkpoint"""
    return osmt.copy(CHECKPOINT)