ray.rllib.algorithms.algorithm_config.AlgorithmConfig.get_default_learner_class
ray.rllib.algorithms.algorithm_config.AlgorithmConfig.get_default_learner_class#
- AlgorithmConfig.get_default_learner_class() Union[Type[Learner], str] [source]#
Returns the Learner class to use for this algorithm.
Override this method in the sub-class to return the Learner class type given the input framework.
- Returns
The Learner class to use for this algorithm either as a class type or as a string (e.g. ray.rllib.core.learner.testing.torch.BC).