Skip to content

simpleflight

Shared MLP model for the SimpleFlight task.

Classes:

Name Description
SharedSimpleFlight

Shared actor-critic with a 3-layer LeakyReLU trunk (256, 256, 256).

SharedSimpleFlight

SharedSimpleFlight(observation_space, state_space, action_space, device, clip_actions=False, clip_log_std=True, min_log_std=-20, max_log_std=2, reduction='sum')

Bases: GaussianMixin, DeterministicMixin, Model

Shared actor-critic with a 3-layer LeakyReLU trunk (256, 256, 256).

Initialize shared model layers and mixins.

Methods:

Name Description
act

Compute actions or values depending on role.

compute

Compute policy or value outputs depending on role.

act

act(inputs: Any, role: str) -> Any

Compute actions or values depending on role.

compute

compute(inputs: Any, role: str) -> Any

Compute policy or value outputs depending on role.