code: def catenate_conds(conds):
      if not isinstance(conds[0], dict):
          return torch.cat(conds)
  
      return {
          key: torch.cat([x[key] for x in conds])
          for key in conds[0].keys()
      }
  
file_path: stable-diffusion-webui/modules/sd_samplers_cfg_denoiser.py
imports: import torch
  from modules import prompt_parser, devices, sd_samplers_common
  from modules.shared import opts, state
  import modules.shared
  from modules.script_callbacks import CFGDenoiserParams, cfg_denoiser_callback
  from modules.script_callbacks import CFGDenoisedParams, cfg_denoised_callback
  from modules.script_callbacks import AfterCFGCallbackParams, cfg_after_cfg_callback
label_desc: Use image node_id 1 for calling a global function with example usage: catenate_conds(conds) and returns: unknown, torch