QDpy
Loading...
Searching...
No Matches
ppo.py File Reference

Clipped PPO shared by standalone training and QD offspring. More...

Go to the source code of this file.

Classes

class  qdpy.rl.ppo.PPOConfig
 Sampling and minibatch settings for the clipped PPO update. More...
class  qdpy.rl.ppo._Learner
class  qdpy.rl.ppo.PPO
 Train PPO in a categorical or bounded continuous action space. More...

Namespaces

namespace  qdpy

Functions

 qdpy.rl.ppo._advantages (rewards, values, next_values, terminated, truncated, gamma, gae_lambda)

Detailed Description

Clipped PPO shared by standalone training and QD offspring.

Definition in file ppo.py.

Function Documentation

◆ _advantages()

qdpy.rl.ppo._advantages ( rewards,
values,
next_values,
terminated,
truncated,
gamma,
gae_lambda )
protected
Bootstrap at a truncation and stop the trace at every reset.

Definition at line 64 of file ppo.py.