class_docstr: Agent of PPO env
  
  Args:
      algorithm (`parl.Algorithm`): algorithm to be used in this agent.
      config (dict): configs that used in this agent
class_docstr_tok: ["Agent","of","PPO","env","Args",":","algorithm","(","`","parl.Algorithm","`",")",":","algorithm","to","be","used","in","this","agent",".","config","(","dict",")",":","configs","that","used","in","this","agent"]
code: def __init__(self, algorithm, config):
      super(PPOAgent, self).__init__(algorithm)
  
      self.config = config
      if self.config["lr_decay"]:
          self.lr_scheduler = LinearDecayScheduler(
              self.config["initial_lr"], self.config["num_updates"]
          )
  
file_path: PARL/examples/PPO/agent.py
imports: import parl
  import paddle
  import numpy
  from parl.utils.scheduler import LinearDecayScheduler
label_desc: Use image node_id 1 to create a new PPOAgent object from inherited base classes: parl with example: obj = PPOAgent(algorithm, config)