code: def fn_device_dependency_dict():
    
    default_graph = tf.get_default_graph()
    if not hasattr(default_graph, "dependency_dict"):
      default_graph.dependency_dict = collections.defaultdict(list)
    return default_graph.dependency_dict
docs: State container for fn_device_dependency.