code: def _load_config_yaml(fname):
      with tf.gfile.GFile(fname) as config_file:
          config = yaml.load(config_file)
      return config
  
file_path: texar/texar/tf/utils/utils_io.py
imports: from io import open
  import os
  import importlib
  import yaml
  import tensorflow
label_desc: Use image node_id 2 for calling a global function with example usage: _load_config_yaml(fname) and returns: config