Remove initial_sample_state from GaussianSumQuery. It is the same in the base class.

PiperOrigin-RevId: 315303883
This commit is contained in:
Galen Andrew 2020-06-08 10:33:47 -07:00 committed by A. Unique TensorFlower
parent cec011e2a7
commit 8efc44b395

View file

@ -64,10 +64,6 @@ class GaussianSumQuery(dp_query.SumAggregationDPQuery):
def derive_sample_params(self, global_state):
return global_state.l2_norm_clip
def initial_sample_state(self, template):
return tf.nest.map_structure(
dp_query.zeros_like, template)
def preprocess_record_impl(self, params, record):
"""Clips the l2 norm, returning the clipped record and the l2 norm.