code: def denorm(x):
      out = (x + 1) / 2
      return out.clamp(0, 1)
  
imports: import os
  import torch
  import torchvision
  import torch.nn
  from torchvision import transforms
  from torchvision.utils import save_image
label_desc: Use image node_id 1 for calling a global function with example usage: denorm(x) and returns: out