torchrl.trainers.algorithms.configs.objectives.HardUpdateConfig¶ class torchrl.trainers.algorithms.configs.objectives.HardUpdateConfig(loss_module: Any, _partial_: bool = True, _target_: str = 'torchrl.objectives.utils.HardUpdate', value_network_update_interval: int = 1000)[source]¶ A class for hard update instantiation.