hold_out_params¶ class torchrl.objectives.hold_out_params(params: Iterable[Tensor])[source]¶ 上下文管理器,用于将参数列表排除在计算图之外。