code: def make_master_params(model_params):
      """
      Copy model parameters into a (differently-shaped) list of full-precision
      parameters.
      """
      master_params = _flatten_dense_tensors(
          [param.detach().float() for param in model_params]
      )
      master_params = nn.Parameter(master_params)
      master_params.requires_grad = True
      return [master_params]
  
file_path: improved-diffusion/improved_diffusion/fp16_util.py
imports: import torch.nn
  from torch._utils import _flatten_dense_tensors, _unflatten_dense_tensors
label_desc: Use image node_id 3 for calling a global function with example usage: make_master_params(model_params) and returns: list