popgym.wrappers.flatten
Classes
Wrapper that flattens the observation and action spaces |
Module Contents
- class popgym.wrappers.flatten.Flatten(env: popgym.core.env.POPGymEnv, flatten_action: bool = True, flatten_observation: bool = True)
Bases:
popgym.core.wrapper.POPGymWrapperWrapper that flattens the observation and action spaces to make them compatible with neural networks.
- need_flatten_action = False
- need_flatten_obs = False