basic_generator: Basic generator

Description Usage Arguments Value Examples

View source: R/GAN.R

Description

A basic generator from 'in_sz' to images 'n_channels' x 'out_size' x 'out_size'.

Usage

1
basic_generator(out_size, n_channels, ...)

Arguments

out_size

out_size

n_channels

n_channels

...

additional params to pass

Value

generator object

Examples

1
2
3
4
5
6
## Not run: 

generator = basic_generator(out_size = 64, n_channels = 3, n_extra_layers = 1)


## End(Not run)

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