ray.rllib.core.learner.learner.LearnerHyperparameters.get_hps_for_module#

LearnerHyperparameters.get_hps_for_module(module_id: str) ray.rllib.core.learner.learner.LearnerHyperparameters[source]#

Returns a LearnerHyperparameter instance, given a module_id.

This is useful for passing these module-specific HPs to a Learner’s _for_module(module_id=.., hps=..) methods. Individual modules within a MultiAgentRLModule can then override certain AlgorithmConfig settings of the main config, e.g. the learning rate.

Parameters

module_id – The module ID for which to return a specific LearnerHyperparameter instance.

Returns

The module specific LearnerHyperparameter instance.