mirror of
https://github.com/wassname/ray.git
synced 2026-07-12 03:51:53 +08:00
02583a8598
This implements some of the renames proposed in #4813 We leave behind backwards-compatibility aliases for *PolicyGraph and SampleBatch.
7 lines
193 B
Python
7 lines
193 B
Python
from ray.rllib.agents.pg.pg import PGTrainer, DEFAULT_CONFIG
|
|
from ray.rllib.utils import renamed_agent
|
|
|
|
PGAgent = renamed_agent(PGTrainer)
|
|
|
|
__all__ = ["PGAgent", "PGTrainer", "DEFAULT_CONFIG"]
|