ray.rllib.algorithms.algorithm_config.AlgorithmConfig.get_config_for_module#
- AlgorithmConfig.get_config_for_module(module_id: str) AlgorithmConfig [source]#
Returns an AlgorithmConfig object, specific to the given module ID.
In a multi-agent setup, individual modules might override one or more AlgorithmConfig properties (e.g.
train_batch_size
,lr
) using theoverrides()
method.In order to retrieve a full AlgorithmConfig instance (with all these overrides already translated and built-in), users can call this method with the respective module ID.
- Parameters:
module_id – The module ID for which to get the final AlgorithmConfig object.
- Returns:
A new AlgorithmConfig object for the specific module ID.