User Guide
API Reference
Policy
Policy.compute_action()
Base Policy class for defining custom policies.
observation_space (Space) – Observation space of the policy.
Space
action_space (Space) – Action space of the policy.
observation (Any) – A single observation for the policy to act on.
Any
The action taken by the policy based on the given observation.