code: def add():
      if len(stored) != 0:
          return
  
      stored.extend(
          [
              ldm.modules.attention.BasicTransformerBlock.forward,
              ldm.modules.diffusionmodules.openaimodel.ResBlock.forward,
              ldm.modules.diffusionmodules.openaimodel.AttentionBlock.forward,
          ]
      )
  
      ldm.modules.attention.BasicTransformerBlock.forward = (
          BasicTransformerBlock_forward
      )
      ldm.modules.diffusionmodules.openaimodel.ResBlock.forward = (
          ResBlock_forward
      )
      ldm.modules.diffusionmodules.openaimodel.AttentionBlock.forward = (
          AttentionBlock_forward
      )
  
file_path: stable-diffusion-webui/modules/sd_hijack_checkpoint.py
imports: from torch.utils.checkpoint import checkpoint
  import ldm.modules.attention
  import ldm.modules.diffusionmodules.openaimodel
label_desc: Use image node_id 4 for calling a global function with example usage: add() without return types