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 = False, 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, value_chunk_size: int | None = None, num_chunks: int | None = None, num_chunk: int | None = None, value_chunk_dim: int = 0, shifted_budget: int = 1, group_key: Any = None, valid_key: Any = None, _target_: str = 'torchrl.trainers.algorithms.configs.objectives._make_gae')[source]#
Hydra configuration for
GAE.Every kwarg accepted by
GAE.__init__is exposed as a field here. Thevalid_keyfield is applied throughset_keys()by the factory.