code: def get_model_info_config(param_dict):
      if (
          MODEL_INFO in param_dict
          and param_dict[MODEL_INFO] is not None
      ):
          model_info_config = {}
          for key, default_value in MODEL_INFO_KEY_DEFAULT_DICT.items():
              model_info_config[key] = get_scalar_param(
                  param_dict[MODEL_INFO], key, default_value
              )
          return model_info_config
      return None
  
file_path: DeepSpeed/deepspeed/autotuning/config.py
imports: from deepspeed.runtime.config_utils import get_scalar_param, get_dict_param, DeepSpeedConfigObject
  from deepspeed.autotuning.constants import *
label_desc: Use image node_id 1 for calling a global function with example usage: get_model_info_config(param_dict) and returns: None, model_info_config