ray.rllib.core.rl_module.marl_module.MultiAgentRLModule.update_default_view_requirements#

MultiAgentRLModule.update_default_view_requirements(defaults: Dict[str, ray.rllib.policy.view_requirement.ViewRequirement]) Mapping[str, ray.rllib.policy.view_requirement.ViewRequirement]#

Updates default view requirements with the view requirements of this module.

This method should be called with view requirements that already contain information such as the given observation space, action space, etc. This method may then add additional shifts or state columns to the view requirements, or apply other changes.

Parameters

defaults – The default view requirements to update.

Returns

The updated view requirements.