RLModule.update_default_view_requirements(defaults: Dict[str, ViewRequirement]) Mapping[str, ViewRequirement][source]#

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.


defaults – The default view requirements to update.


The updated view requirements.