kl_gen {RGAN} | R Documentation |
Utility function for the kl WGAN loss for Generator training as described in https://arxiv.org/abs/1910.09779 and implemented in python in https://github.com/ermongroup/f-wgan.
kl_gen(dis_fake)
dis_fake |
Discriminator scores on fake examples ($D(G(z))$) |
The loss