class_docstr: `DPQuery` for `SumAggregationDPQuery` with a `reset_state` function.
class_docstr_tok: ["`","DPQuery","`","for","`","SumAggregationDPQuery","`","with","a","`","reset_state","`","function","."]
docstr: Implements `tensorflow_privacy.DPQuery.get_noised_result`.
docstr_tok: ["Implements","`","tensorflow_privacy.DPQuery.get_noised_result","`","."]
code: def get_noised_result(self, sample_state, global_state):
      """Implements `tensorflow_privacy.DPQuery.get_noised_result`."""
      (
          noised_results,
          inner_state,
          event,
      ) = self._inner_query.get_noised_result(
          sample_state, global_state.inner_query_state
      )
      restart_flag, indicator_state = self._restart_indicator.next(
          global_state.indicator_state
      )
      if restart_flag:
          inner_state = self._inner_query.reset_state(
              noised_results, inner_state
          )
      return (
          noised_results,
          self._GlobalState(inner_state, indicator_state),
          event,
      )
  
imports: import abc
  import collections
  from typing import Optional
  import tensorflow
  from tensorflow_privacy.privacy.dp_query import dp_query
label_desc: Use image node_id 6 for calling the RestartQuery obj's underlying member method code with example usage: obj.get_noised_result(sample_state, global_state) and returns: noised_results,  self,  event