kl_real {RGAN}R Documentation

KL WGAN loss on real examples

Description

Utility function for the kl WGAN loss for real examples as described in https://arxiv.org/abs/1910.09779 and implemented in python in https://github.com/ermongroup/f-wgan.

Usage

kl_real(dis_real)

Arguments

dis_real

Discriminator scores on real examples ($D(x)$)

Value

The loss


[Package RGAN version 0.1.1 Index]