The training loop remains unchanged, with the exception of the discriminator build call, which requires new dimensions that correspond to CIFAR-10's image size, as shown in the following code:
discriminator = build_discriminator(img_shape=(32, 32, 3))