ray/rllib/algorithms/pg/default_config.py

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

9 lines
317 B
Python
Raw Normal View History

from ray.rllib.algorithms.pg import DEFAULT_CONFIG # noqa
from ray.rllib.utils.deprecation import deprecation_warning
deprecation_warning(
old="ray.rllib.algorithms.pg.default_config::DEFAULT_CONFIG (python dict)",
new="ray.rllib.algorithms.pg.pg::PGConfig() (RLlib TrainerConfig class)",
error=True,
)