ray.rllib.core.learner.learner.Learner.rl_module_required_apis#

classmethod Learner.rl_module_required_apis() list[type][source]#

Returns the required APIs for an RLModule to be compatible with this Learner.

The returned values may or may not be used inside the rl_module_is_compatible method.

Parameters:

module – The RLModule to check.

Returns:

A list of RLModule API classes that an RLModule must implement in order to be compatible with this Learner.