class_docstr: A stats generator meant to be used as a part of a composite generator.
  
  A constituent stats generator facilitates sharing logic between several stats
  generators. It is functionally identical to a beam.CombineFn, but it expects
  add_input to be called with instances of InputBatch.
docstr: Returns result of converting accumulator into the output value.
  
  Args:
    accumulator: The final accumulator value.
  
  Returns:
    The final output value which should be used by composite generators which
    use this constituent generator.
docstr_tok: ["Returns","result","of","converting","accumulator","into","the","output","value",".","Args",":","accumulator",":","The","final","accumulator","value",".","Returns",":","The","final","output","value","which","should","be","used","by","composite","generators","which","use","this","constituent","generator","."]
code: def extract_output(self, accumulator: CONSTITUENT_ACCTYPE) -> Any:
      """Returns result of converting accumulator into the output value.
  
      Args:
        accumulator: The final accumulator value.
  
      Returns:
        The final output value which should be used by composite generators which
        use this constituent generator.
      """
  
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 8 for calling the ConstituentStatsGenerator obj's underlying member method code with example usage: obj.extract_output(accumulator) without return types