code: def _load_config_file(config_path):
      """Load a yaml config file
  
      Args:
          config_path: (str) Path to config.yaml file
  
      Returns:
          Dictionary with configs from config.yaml
  
      """
      Loader = yaml.FullLoader
      with open(config_path, "r") as config_file:
          cfg = yaml.load(config_file, Loader=Loader)
  
      return cfg
  
file_path: lightly/lightly/core.py
imports: import os
  from typing import List, Tuple
  import numpy
  import yaml
  import lightly.cli
  from lightly.cli.embed_cli import _embed_cli
  from lightly.cli.lightly_cli import _lightly_cli
  from lightly.cli.train_cli import _train_cli
label_desc: Use image node_id 2 for calling a global function with example usage: _load_config_file(config_path) and returns: cfg