Generator vs Discriminator adversarial loop with labeled losses and gradient flow.
For generative-modeling papers using a GAN-style training objective.
Same loop but add a class label y as additional conditioning input to both G and D. Show y as a separate input arrow into both networks. Update losses to D(x | y) and G(z | y).