code: def link_hp_params(
      lp_param_list,
      flat_hp_partition,
      gradient_dict,
      offload_gradient_dict,
      use_offload,
      param_group_index,
      partition_start,
      partition_size,
      partition_optimizer_state,
      dp_group,
  ):
      local_lp_param_and_offset = _init_lp_to_hp_mapping(
          lp_param_list, partition_start, partition_size, dp_group
      )
  
      for lp_param, lp_start in local_lp_param_and_offset:
          lp_param._hp_mapping = get_hp_fragment_mapping(
              lp_param,
              lp_start,
              flat_hp_partition,
              gradient_dict,
              offload_gradient_dict,
              use_offload,
              param_group_index,
              partition_start,
              partition_size,
              partition_optimizer_state,
          )
  
imports: import types
  from deepspeed.utils import get_full_hp_param, get_full_hp_grad, get_hp_fragment_mapping
  from deepspeed.utils import set_full_hp_param
label_desc: Use image node_id 1 for calling a global function with example usage: link_hp_params(lp_param_list, flat_hp_partition, gradient_dict, offload_gradient_dict, use_offload, param_group_index, partition_start, partition_size, partition_optimizer_state, dp_group) without return types