ray.rllib.core.learner.learner.Learner.build#

Learner.build() None[source]#

Builds the Learner.

This method should be called before the learner is used. It is responsible for setting up the LearnerConnectorPipeline, the RLModule, optimizer(s), and (optionally) the optimizers’ learning rate schedulers.