code: def dump_config(config):
      config = to_dict(config)
      return yaml.dump(config, default_flow_style=False)
  
file_path: luminoth/luminoth/utils/config.py
imports: import inspect
  import os.path
  import tensorflow
  import yaml
  from easydict import EasyDict
  from luminoth.models import get_model
label_desc: Use image node_id 4 for calling a global function with example usage: dump_config(config) and returns: yaml