Skip to content

RestartPoint ​

python
RestartPoint(key: RestartKey, state: bytes, frames: bytes) -> None

One place an episode can be restarted from.

Compared by identity, not value: two snapshots of the same state are still separate points, and eviction has to remove the exact one that kept failing.

Source

Values ​

frames ​

python
frames: bytes

The observation frame stack at that state, so the policy sees motion from its first decision.

Source

key ​

python
key: RestartKey

Source

state ​

python
state: bytes

The serialised machine state to restore.

Source