flat_structured_space

class maze.core.utils.structured_env_utils.flat_structured_space(structured_space_dict: Dict[Union[int, str], gym.spaces.Dict])

Compiles a flat gym.spaces.Dict space from a structured environment space. :param: The structured dictionary spaces. :return: The flattened dictionary space.