gan_loss_from_func {fastai} | R Documentation |
GAN loss from function
Description
Define loss functions for a GAN from 'loss_gen' and 'loss_crit'.
Usage
gan_loss_from_func(loss_gen, loss_crit, weights_gen = NULL)
Arguments
loss_gen |
generator loss |
loss_crit |
discriminator loss |
weights_gen |
weight generator |
Value
None
[Package fastai version 2.2.2 Index]