code: def _inject_parameters(module, cls):
      for module in module.modules():
          if cls == ZeROOrderedDict:
              new_param = cls(parent_module=module)
          else:
              new_param = cls()
  
          for key, param in module._parameters.items():
              new_param[key] = param
          module._parameters = new_param
  
imports: import sys
  import torch
  from torch.cuda import Stream
  from collections import OrderedDict
  from deepspeed.runtime.utils import see_memory_usage
  from deepspeed.runtime.zero.offload_config import OffloadDeviceEnum
  from deepspeed.runtime.zero.partition_parameters import _init_external_params
  from deepspeed.runtime.zero.partition_parameters import *
  from deepspeed.runtime.zero.partitioned_param_coordinator import PartitionedParameterCoordinator, iter_params
  from deepspeed import comm
label_desc: Use image node_id 4 for calling a global function with example usage: _inject_parameters(module, cls) without return types