class_docstr: :class:`~opacus.optimizers.optimizer.DPOptimizer` that implements
  adaptive clipping strategy
  https://arxiv.org/pdf/1905.03871.pdf
class_docstr_tok: [":","class",":","`","~opacus.optimizers.optimizer.DPOptimizer","`","that","implements","adaptive","clipping","strategy","https",":","\/\/arxiv.org\/pdf\/1905.03871.pdf"]
code: def add_noise(self):
      super().add_noise()
  
      unclipped_num_noise = _generate_noise(
          std=self.unclipped_num_std,
          reference=self.unclipped_num,
          generator=self.generator,
      )
  
      self.unclipped_num = float(self.unclipped_num)
      self.unclipped_num += unclipped_num_noise
  
file_path: opacus/opacus/optimizers/adaclipoptimizer.py
imports: from __future__ import annotations
  import logging
  from typing import Callable, Optional
  import torch
  from opt_einsum import contract
  from torch.optim import Optimizer
  from .optimizer import DPOptimizer, _check_processed_flag, _generate_noise, _mark_as_processed
label_desc: Use image node_id 4 for calling the AdaClipDPOptimizer obj's underlying member method code with example usage: obj.add_noise() without return types