class_docstr: Generate feature level statistics using combiner function.
  
  This interface is a simplification of CombinerStatsGenerator for the special
  case of statistics that do not require cross-feature computations. It mirrors
  a beam.CombineFn for the values of a specific feature.
docstr: Returns a compact representation of the accumulator.
  
  This is optionally called before an accumulator is sent across the wire. The
  base class is a no-op. This may be overwritten by the derived class.
  
  Args:
    accumulator: The accumulator to compact.
  
  Returns:
    The compacted accumulator. By default is an identity.
docstr_tok: ["Returns","a","compact","representation","of","the","accumulator",".","This","is","optionally","called","before","an","accumulator","is","sent","across","the","wire",".","The","base","class","is","a","no-op",".","This","may","be","overwritten","by","the","derived","class",".","Args",":","accumulator",":","The","accumulator","to","compact",".","Returns",":","The","compacted","accumulator",".","By","default","is","an","identity","."]
code: def compact(self, accumulator: ACCTYPE) -> ACCTYPE:
      """Returns a compact representation of the accumulator.
  
      This is optionally called before an accumulator is sent across the wire. The
      base class is a no-op. This may be overwritten by the derived class.
  
      Args:
        accumulator: The accumulator to compact.
  
      Returns:
        The compacted accumulator. By default is an identity.
      """
      return accumulator
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import abc
  from typing import Any, Dict, Generic, Hashable, Iterable, List, Optional, Text, TypeVar
  import apache_beam
  import pyarrow
  from tensorflow_data_validation import types
  from tensorflow_data_validation.statistics.generators import input_batch
  from tensorflow_metadata.proto.v0 import schema_pb2
  from tensorflow_metadata.proto.v0 import statistics_pb2
label_desc: Use image node_id 5 for calling the CombinerFeatureStatsGenerator obj's underlying member method code with example usage: obj.compact(accumulator) and returns: accumulator