View source: R/value-functions.R
KLWGAN_value_fct | R Documentation |
Provides a function to send the output of a DataTransformer to a torch tensor, so that it can be accessed during GAN training.
KLWGAN_value_fct(real_scores, fake_scores)
real_scores |
The discriminator scores on real examples ($D(x)$) |
fake_scores |
The discriminator scores on fake examples ($D(G(z))$) |
The function returns a named list with the entries d_loss and g_loss
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.