class_docstr: Class that analyzes a graph to determine readiness of tensors.
docstr: Init method for _GraphAnalyzer.
  
  Args:
    source_info_dict: A dict from `Tensor Reference` or `Operation` to
      `_SourceInfo`.
    translate_path_fn: A function with the signature: (identifier, parents) ->
      Any which will be used to construct a unique path for a given `Tensor`.
    graph: A `tf.Graph` which the given tensors belong to.
docstr_tok: ["Init","method","for","_GraphAnalyzer",".","Args",":","source_info_dict",":","A","dict","from","`","Tensor","Reference","`","or","`","Operation","`","to","`","_SourceInfo","`",".","translate_path_fn",":","A","function","with","the","signature",":","(","identifier",",","parents",")","-",">","Any","which","will","be","used","to","construct","a","unique","path","for","a","given","`","Tensor","`",".","graph",":","A","`","tf.Graph","`","which","the","given","tensors","belong","to","."]
code: def __init__(self, source_info_dict, translate_path_fn, graph):
      """Init method for _GraphAnalyzer.
  
      Args:
        source_info_dict: A dict from `Tensor Reference` or `Operation` to
          `_SourceInfo`.
        translate_path_fn: A function with the signature: (identifier, parents) ->
          Any which will be used to construct a unique path for a given `Tensor`.
        graph: A `tf.Graph` which the given tensors belong to.
      """
      self._memoized_analyze_tensor_result = {}
      self._source_info_dict = source_info_dict
      self._translate_path_fn = translate_path_fn
      self._graph = graph
  
imports: import collections
  import copy
  import hashlib
  import itertools
  from typing import Iterable, List, Mapping, Optional, Set, Union
  import uuid
  from absl import logging
  import tensorflow
  from tensorflow_transform import analyzer_nodes
  from tensorflow_transform import common_types
  from tensorflow_transform import nodes
  from tensorflow_transform import tf_utils
  from tfx_bsl.types import tfx_namedtuple
  from tensorflow.python.framework import composite_tensor
  from tensorflow.python.framework import func_graph
  from tensorflow.python.framework import function_def_to_graph
  from tensorflow.python.util import object_identity
label_desc: Use image node_id 1 to create a new _GraphAnalyzer object  with example: obj = _GraphAnalyzer(source_info_dict, translate_path_fn, graph)