code: def subscript_cond(cond, a, b):
      if not isinstance(cond, dict):
          return cond[a:b]
  
      return {key: vec[a:b] for key, vec in cond.items()}
  
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 2 for calling a global function with example usage: subscript_cond(cond, a, b) and returns: unknown, cond