forked from 626_privacy/tensorflow_privacy
Remove initial_sample_state from GaussianSumQuery. It is the same in the base class.
PiperOrigin-RevId: 315303883
This commit is contained in:
parent
cec011e2a7
commit
8efc44b395
1 changed files with 0 additions and 4 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue