mirror of
https://github.com/wassname/ray.git
synced 2026-10-01 12:31:37 +08:00
[RLlib] Implement PPO torch version. (#6826)
This commit is contained in:
1 parent
574abe844a
commit
c957ed58ed
25 files changed
+555
-93
No files matched your search
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user