ray.rllib.core.learner.learner.Learner.shutdown#
- Learner.shutdown() None[source]#
Releases resources held by this Learner.
Subclasses that own background threads (e.g. IMPALA’s
_LearnerThread) should override this to stop and join those threads, so thatLearnerGroup.shutdown()can tear them down deterministically.The default implementation is a no-op.