gan_loss_from_func: GAN loss from function

Description Usage Arguments Value

View source: R/GAN.R

Description

Define loss functions for a GAN from 'loss_gen' and 'loss_crit'.

Usage

1
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


fastai documentation built on July 28, 2021, 5:06 p.m.