torchrl.trainers.algorithms.configs.objectives.GAEConfig¶
- class torchrl.trainers.algorithms.configs.objectives.GAEConfig(_partial_: bool = False, gamma: float | None = None, lmbda: float | None = None, value_network: Any = None, average_gae: bool = True, differentiable: bool = False, vectorized: bool | None = None, skip_existing: bool | None = None, advantage_key: str | None = None, value_target_key: str | None = None, value_key: str | None = None, shifted: bool = False, device: Any = None, time_dim: int | None = None, auto_reset_env: bool = False, deactivate_vmap: bool = False, _target_: str = 'torchrl.objectives.value.GAE')[source]¶
A class to configure a GAELoss.