R/GAN.R
gan_loss_from_func.Rd
Define loss functions for a GAN from `loss_gen` and `loss_crit`.
gan_loss_from_func(loss_gen, loss_crit, weights_gen = NULL)
generator loss
discriminator loss
weight generator
None