code: def apply_model(
      self: sgm.models.diffusion.DiffusionEngine, x, t, cond
  ):
      return self.model(x, t, cond)
  
file_path: stable-diffusion-webui/modules/sd_models_xl.py
imports: from __future__ import annotations
  import torch
  import sgm.models.diffusion
  import sgm.modules.diffusionmodules.denoiser_scaling
  import sgm.modules.diffusionmodules.discretizer
  from modules import devices, shared, prompt_parser
label_desc: Use image node_id 2 for calling a global function with example usage: apply_model(x, t, cond) and returns: self