ray.rllib.algorithms.algorithm.Algorithm.__init__#
- Algorithm.__init__(config: AlgorithmConfig | None = None, env=None, logger_creator: Callable[[], Logger] | None = None, **kwargs)[source]#
Initializes an Algorithm instance.
- Parameters:
config – Algorithm-specific configuration object.
logger_creator – Callable that creates a ray.tune.Logger object. If unspecified, a default logger is created.
**kwargs – Arguments passed to the Trainable base class.