DummyCartPolePolicy¶
-
class
maze.core.agent.dummy_cartpole_policy.
DummyCartPolePolicy
¶ Dummy structured policy for the CartPole env.
Useful mainly for showcase of the config scheme and for testing.
-
compute_action
(observation: Dict[str, numpy.ndarray], maze_state: Optional[Any] = None, policy_id: Union[str, int] = None, deterministic: bool = False) → Dict[str, Union[int, numpy.ndarray]]¶ Sample an action.
-