partial: Partial

View source: R/test.R

partialR Documentation

Partial

Description

partial(func, *args, **keywords) - new function with partial application

Usage

partial(...)

Arguments

...

additional arguments

Value

None

Examples


## Not run: 

generator = basic_generator(out_size = 64, n_channels = 3, n_extra_layers = 1)
critic    = basic_critic(in_size = 64, n_channels = 3, n_extra_layers = 1,
                         act_cls = partial(nn$LeakyReLU, negative_slope = 0.2))


## End(Not run)


fastai documentation built on March 21, 2022, 9:07 a.m.