Skip to content

DQNStateCheckpointFile ​

python
DQNStateCheckpointFile(state: DQNState, compress: bool = True) -> None

Checkpoint file for saving and restoring the DQN experiment state.

Initialize the DQNStateCheckpointFile.

Parameters:

  • state (DQNState) – The DQN experiment state to save.
  • compress (bool) – Whether to zstd-compress the checkpoint file.

Source

Properties ​

state ​

python
state: DQNState

Get the experiment state.

Returns:

  • DQNState – The DQNState.

Source