class_docstr: A visitor that inspects the graph and removes redundant merge nodes.
  
  This visitor removes the redundant flatten and packed merge nodes added
  by the _PackMergeCombineVisitor and reconstructs the descendants of the
  removed nodes with the final flatten and packed merge node.
class_docstr_tok: ["A","visitor","that","inspects","the","graph","and","removes","redundant","merge","nodes",".","This","visitor","removes","the","redundant","flatten","and","packed","merge","nodes","added","by","the","_PackMergeCombineVisitor","and","reconstructs","the","descendants","of","the","removed","nodes","with","the","final","flatten","and","packed","merge","node","."]
code: def __init__(self, final_packed_merge_combine_label):
      super().__init__()
      self._final_packed_merge_combine_label = (
          final_packed_merge_combine_label
      )
      self._packed_post_processing_nodes_cache = {}
  
imports: import collections
  import dataclasses
  from typing import Sequence
  from tensorflow_transform import analyzer_nodes
  from tensorflow_transform import nodes
  from tensorflow_transform.beam import beam_nodes
label_desc: Use image node_id 1 to create a new _RemoveRedundantPackedMergeCombineVisitor object from inherited base classes: _ValidationVisitor with example: obj = _RemoveRedundantPackedMergeCombineVisitor(final_packed_merge_combine_label)