code: def ips_clamp(impt_smpl, ips_clamp: Optional[IPSClamp]):
      if not ips_clamp:
          return impt_smpl.clone()
      if ips_clamp.clamp_method == IPSClampMethod.UNIVERSAL:
          return torch.clamp(impt_smpl, 0, ips_clamp.clamp_max)
      elif ips_clamp.clamp_method == IPSClampMethod.AGGRESSIVE:
          return torch.where(
              impt_smpl > ips_clamp.clamp_max,
              torch.zeros_like(impt_smpl),
              impt_smpl,
          )
  
label_desc: Use image node_id 1 for calling a global function with example usage: ips_clamp(impt_smpl, ips_clamp) and returns: impt_smpl, torch, torch