code: def load_benchmark_config(
      bm_config_path, skip_ts_install, skip_upload
  ):
      yaml = ruamel.yaml.YAML()
      with open(bm_config_path, "r") as f:
          yaml_dict = yaml.load(f)
  
          benchmark_config = BenchmarkConfig(
              yaml_dict, skip_ts_install, skip_upload
          )
          benchmark_config.load_config()
  
      return benchmark_config.bm_config
  
imports: import argparse
  import datetime
  import os
  import shutil
  from subprocess import Popen
  import ruamel.yaml
  from utils import gen_md_report, gen_metrics_json, gen_model_config_json
label_desc: Use image node_id 1 for calling a global function with example usage: load_benchmark_config(bm_config_path, skip_ts_install, skip_upload) and returns: benchmark_config