popgym.wrappers.flatten
Module Contents
Classes
Wrapper that flattens the observation and action spaces |
- 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.