code: def load_config(config_path: str) -> Any:
      with open(config_path) as f:
          config = util.safe_load_yaml_with_exceptions(f)
      return config
  
imports: import importlib
  import os
  import pathlib
  import re
  import unittest.mock
  from typing import Any, Callable, Dict, List, Optional, Sequence, Tuple, Type
  import numpy
  import pytest
  from mypy_extensions import DefaultNamedArg
  import determined
  from determined import core, gpu, workload
  from determined.common import util
label_desc: Use image node_id 9 for calling a global function with example usage: load_config(config_path) and returns: config