class_docstr: Defines a configuration class from which an APPO Algorithm can be built.
  
  .. testcode::
  
      from ray.rllib.algorithms.appo import APPOConfig
      config = APPOConfig().training(lr=0.01, grad_clip=30.0, train_batch_size=50)
      config = config.resources(num_gpus=0)
      config = config.rollouts(num_rollout_workers=1)
      config = config.environment("CartPole-v1")
  
      # Build an Algorithm object from the config and run 1 training iteration.
      algo = config.build()
      algo.train()
      del algo
  
  .. testcode::
  
      from ray.rllib.algorithms.appo import APPOConfig
      from ray import air
      from ray import tune
  
      config = APPOConfig()
      # Update the config object.
      config = config.training(lr=tune.grid_search([0.001,]))
      # Set the config object's env.
      config = config.environment(env="CartPole-v1")
      # Use to_dict() to get the old-style python config dict
      # when running with tune.
      tune.Tuner(
          "APPO",
          run_config=air.RunConfig(stop={"training_iteration": 1},
                                   verbose=0),
          param_space=config.to_dict(),
  
      ).fit()
  
  .. testoutput::
      :hide:
  
      ...
class_docstr_tok: ["Defines","a","configuration","class","from","which","an","APPO","Algorithm","can","be","built",".","..","testcode",":",":","from","ray.rllib.algorithms.appo","import","APPOConfig","config","=","APPOConfig","(",")",".training","(","lr=0.01",",","grad_clip=30.0",",","train_batch_size=50",")","config","=","config.resources","(","num_gpus=0",")","config","=","config.rollouts","(","num_rollout_workers=1",")","config","=","config.environment","(","``","CartPole-v1","''",")","#","Build","an","Algorithm","object","from","the","config","and","run","1","training","iteration",".","algo","=","config.build","(",")","algo.train","(",")","del","algo","..","testcode",":",":","from","ray.rllib.algorithms.appo","import","APPOConfig","from","ray","import","air","from","ray","import","tune","config","=","APPOConfig","(",")","#","Update","the","config","object",".","config","=","config.training","(","lr=tune.grid_search","(","[","0.001",",","]",")",")","#","Set","the","config","object","'s","env",".","config","=","config.environment","(","env=","''","CartPole-v1","''",")","#","Use","to_dict","(",")","to","get","the","old-style","python","config","dict","#","when","running","with","tune",".","tune.Tuner","(","``","APPO","''",",","run_config=air.RunConfig","(","stop=","{","``","training_iteration","''",":","1","}",",","verbose=0",")",",","param_space=config.to_dict","(",")",",",")",".fit","(",")","..","testoutput",":",":",":","hide",":","..."]
docstr: Initializes a APPOConfig instance.
docstr_tok: ["Initializes","a","APPOConfig","instance","."]
imports: from typing import Optional, Type
  import logging
  from ray.rllib.algorithms.algorithm_config import AlgorithmConfig, NotProvided
  from ray.rllib.algorithms.impala.impala import Impala, ImpalaConfig
  from ray.rllib.core.rl_module.rl_module import SingleAgentRLModuleSpec
  from ray.rllib.policy.policy import Policy
  from ray.rllib.utils.annotations import override
  from ray.rllib.utils.metrics import LAST_TARGET_UPDATE_TS, NUM_AGENT_STEPS_SAMPLED, NUM_ENV_STEPS_SAMPLED, NUM_TARGET_UPDATES
  from ray.rllib.utils.metrics import ALL_MODULES, LEARNER_STATS_KEY
  from ray.rllib.utils.typing import ResultDict
label_desc: Use image node_id 1 to create a new APPOConfig object from inherited base classes: ImpalaConfig with example: obj = APPOConfig(algo_class)