code: def __init__(self, yaml_dict, skip_ts_install, skip_upload):
      self.yaml_dict = yaml_dict
      self.skip_ts_install = skip_ts_install
      self.skip_upload = skip_upload
      self.bm_config = {}
      yesterday = datetime.date.today() - datetime.timedelta(days=1)
      self.bm_config["version"] = "torchserve-nightly=={}.{}.{}".format(
          yesterday.year, yesterday.month, yesterday.day
      )
      self.bm_config["hardware"] = "cpu"
  
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 to create a new BenchmarkConfig object  with example: obj = BenchmarkConfig(yaml_dict, skip_ts_install, skip_upload)