code: def _get_graph(explainer):
      """Common utility to get the graph for the tensorflow-based explainer.
  
      Parameters
      ----------
      explainer : Explainer
  
          One of the tensorflow-based explainers.
      """
      _import_tf()
      if not tf.executing_eagerly():
          return explainer.session.graph
      else:
          from tensorflow.python.keras import backend
  
          graph = backend.get_graph()
          return graph
  
imports: import warnings
label_desc: Use image node_id 3 for calling a global function with example usage: _get_graph(explainer) and returns: explainer, graph