default_value_kwargs¶
- class torchrl.objectives.default_value_kwargs(value_type: ValueEstimators)[source]¶
 Default value function keyword argument generator.
- Parameters:
 value_type (Enum.value) – the value function type, from the
:param
ValueEstimatorsclass.:Examples
>>> kwargs = default_value_kwargs(ValueEstimators.TDLambda) {"gamma": 0.99, "lmbda": 0.95}