class_docstr: Base class for DPQueries that aggregate via sum.
class_docstr_tok: ["Base","class","for","DPQueries","that","aggregate","via","sum","."]
docstr: Implements `tensorflow_privacy.DPQuery.initial_sample_state`.
docstr_tok: ["Implements","`","tensorflow_privacy.DPQuery.initial_sample_state","`","."]
code: def initial_sample_state(self, template=None):
      """Implements `tensorflow_privacy.DPQuery.initial_sample_state`."""
      return tf.nest.map_structure(_zeros_like, template)
  
file_path: privacy/tensorflow_privacy/privacy/dp_query/dp_query.py
imports: import abc
  import collections
  import tensorflow
label_desc: Use image node_id 1 for calling the SumAggregationDPQuery obj's underlying member method code with example usage: obj.initial_sample_state(template) and returns: tf