[RLlib] Implement PPO torch version. (#6826)

This commit is contained in:
Sven Mika
2020-01-20 23:06:50 -08:00
committed by Eric Liang
parent 574abe844a
commit c957ed58ed
25 changed files with 555 additions and 93 deletions
+1 -1
View File
@@ -537,7 +537,7 @@ You can use the ``with_updates`` method on Trainers and Policy objects built wit
.. code-block:: python
from ray.rllib.agents.ppo import PPOTrainer
from ray.rllib.agents.ppo.ppo_policy import PPOTFPolicy
from ray.rllib.agents.ppo.ppo_tf_policy import PPOTFPolicy
CustomPolicy = PPOTFPolicy.with_updates(
name="MyCustomPPOTFPolicy",