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