def __init__(self, l2_norm_clip, noise_multiplier, changing_clipping=False, num_microbatches=None, gradient_norm=None, *args, **kwargs):
    'Initialize the DPOptimizerClass.\n\n      Args:\n        l2_norm_clip: Clipping norm (max L2 norm of per microbatch gradients)\n        noise_multiplier: Ratio of the standard deviation to the clipping norm\n        num_microbatches: The number of microbatches into which each minibatch\n          is split.\n      '
    super(DPOptimizerClass, self).__init__(*args, **kwargs)
    self._l2_norm_clip = l2_norm_clip
    self._norm_clip = tf.Variable(l2_norm_clip)
    self._noise_multiplier = noise_multiplier
    self._num_microbatches = num_microbatches
    self._dp_sum_query = gaussian_query.GaussianSumQuery(l2_norm_clip, (l2_norm_clip * noise_multiplier))
    self._global_state = None
    self._was_dp_gradients_called = False
    self._changing_clipping = changing_clipping
    self.gradient_norm = gradient_norm
Initialize the DPOptimizerClass.

Args:
  l2_norm_clip: Clipping norm (max L2 norm of per microbatch gradients)
  noise_multiplier: Ratio of the standard deviation to the clipping norm
  num_microbatches: The number of microbatches into which each minibatch
    is split.
def __init__(self, l2_norm_clip, noise_multiplier, changing_clipping=False, num_microbatches=None, gradient_norm=None, *args, **kwargs):
    'Initialize the DPOptimizerClass.\n\n      Args:\n        l2_norm_clip: Clipping norm (max L2 norm of per microbatch gradients)\n        noise_multiplier: Ratio of the standard deviation to the clipping norm\n        num_microbatches: The number of microbatches into which each minibatch\n          is split.\n      '
    super(DPOptimizerClass, self).__init__(*args, **kwargs)
    self._l2_norm_clip = l2_norm_clip
    self._norm_clip = tf.Variable(l2_norm_clip)
    self._noise_multiplier = noise_multiplier
    self._num_microbatches = num_microbatches
    self._dp_sum_query = gaussian_query.GaussianSumQuery(l2_norm_clip, (l2_norm_clip * noise_multiplier))
    self._global_state = None
    self._was_dp_gradients_called = False
    self._changing_clipping = changing_clipping
    self.gradient_norm = gradient_norm