class maze.perception.models.critics.step_state_critic_composer.StepStateCriticComposer(observation_spaces_dict: Dict[Union[str, int], gym.spaces.Dict], agent_counts_dict: Dict[Union[str, int], int], networks: Union[List[Union[None, Mapping[str, Any], Any]], Mapping[Union[str, Type], Union[None, Mapping[str, Any], Any]]])

Each sub-step or actor gets its individual critic.

Instantiates a TorchStepStateCritic.

  • observation_spaces_dict – Dict of sub-step id to observation space.

  • networks – Critics networks as defined in the config (either list or dictionary of object params and type).

property critic

(overrides BaseStateCriticComposer)

implementation of BaseStateCriticComposer