partial {fastai} | R 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)
[Package fastai version 2.2.2 Index]