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.merge_sample_states`.
docstr_tok: ["Implements","`","tensorflow_privacy.DPQuery.merge_sample_states","`","."]
code: def merge_sample_states(self, sample_state_1, sample_state_2):
      """Implements `tensorflow_privacy.DPQuery.merge_sample_states`."""
      return tf.nest.map_structure(
          tf.add, sample_state_1, sample_state_2
      )
  
file_path: privacy/tensorflow_privacy/privacy/dp_query/dp_query.py
imports: import abc
  import collections
  import tensorflow
label_desc: Use image node_id 3 for calling the SumAggregationDPQuery obj's underlying member method code with example usage: obj.merge_sample_states(sample_state_1, sample_state_2) and returns: tf