class_docstr: We use this object to make a mini batch of experiences
  __init__:
  - Initialize the runner
  
  run():
  - Make a mini batch
class_docstr_tok: ["We","use","this","object","to","make","a","mini","batch","of","experiences","__init__",":","-","Initialize","the","runner","run","(",")",":","-","Make","a","mini","batch"]
code: def __init__(self, *, env, model, nsteps, gamma, lam):
      super().__init__(env=env, model=model, nsteps=nsteps)
      # Lambda used in GAE (General Advantage Estimation)
      self.lam = lam
      # Discount rate
      self.gamma = gamma
  
imports: import numpy
  from baselines.common.runners import AbstractEnvRunner
label_desc: Use image node_id 1 to create a new Runner object from inherited base classes: AbstractEnvRunner with example: obj = Runner()