flat_structured_shapes

class maze.core.utils.structured_env_utils.flat_structured_shapes(shapes: Dict[Union[str, int], Dict[str, Sequence[int]]])

Flatten a dict of shape dicts to a single dict

Parameters

shapes – Collection of shape dict.

Returns

Flat shape dict.