mirror of
https://github.com/vale981/ray
synced 2025-03-04 17:41:43 -05:00
11 lines
288 B
Python
11 lines
288 B
Python
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
|