kl_gen: KL WGAN loss for Generator training

View source: R/utility-functions.R

kl_genR Documentation

KL WGAN loss for Generator training

Description

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.

Usage

kl_gen(dis_fake)

Arguments

dis_fake

Discriminator scores on fake examples ($D(G(z))$)

Value

The loss


RGAN documentation built on March 30, 2022, 1:07 a.m.