code: def initialize_graph(config):
      """
      Initialize the Euler graph driver used in Tensorflow.
  
      Args:
        config: str or dict of Euler graph driver configuration.
  
      Return:
        A boolean indicate whether the graph driver is initialized successfully.
  
      Raises:
        TypeError: if config is neither str nor dict.
      """
      if isinstance(config, dict):
          config = ";".join(
              "{}={}".format(key, value)
              for key, value in config.items()
          )
      if not isinstance(config, str):
          raise TypeError(
              "Expect str or dict for graph config, "
              "got {}.".format(type(config).__name__)
          )
  
      if not isinstance(config, bytes):
          config = config.encode()
  
      return _LIB.InitQueryProxy(config)
  
file_path: euler/tf_euler/python/euler_ops/base.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import ctypes
  import os
  import euler
  import tensorflow
  import logging
label_desc: Use image node_id 1 for calling a global function with example usage: initialize_graph(config) and returns: _LIB