maple.backend.envs.base.EnvBackend.reset

EnvBackend.reset(handle: EnvHandle, seed: int | None = None) Dict

Reset the environment to initial state.

Resets the environment for the current task and returns the initial observation.

Parameters:
  • handle – Environment handle to reset.

  • seed – Optional random seed for reset.

Returns:

Dictionary containing initial observation.