code: def vanilla_d_loss(logits_real, logits_fake):
      d_loss = 0.5 * (
          torch.mean(torch.nn.functional.softplus(-logits_real))
          + torch.mean(torch.nn.functional.softplus(logits_fake))
      )
      return d_loss
  
label_desc: Use image node_id 2 for calling a global function with example usage: vanilla_d_loss(logits_real, logits_fake) and returns: d_loss