ray/rllib/agents/trainer.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
288 B
Python
Raw Permalink Normal View History

from ray.rllib.algorithms.algorithm import ( # noqa
Algorithm,
COMMON_CONFIG,
with_common_config,
)
from ray.rllib.utils.deprecation import deprecation_warning
deprecation_warning(old="rllib.agents::Trainer", new="rllib.algorithms::Algorithm")
# Alias.
Trainer = Algorithm