Description Usage Arguments Details Value See Also
This function creates a block of convolutional layers with upsampling such that the dimension of the outputs is doubled after each layer.
1 2 3 |
object |
( |
initial_filters |
(numeric) Number of filters in the first convolutional layer, Default: 2 ^ |
kernel_size |
(list or vector) size of the convolution kernels, Default: c(3, 3, 3) |
num_steps |
(integer) Number of steps to perform downsampling, Default: 1 if |
activation |
(character) Activation function in the block layers, Default: 'relu' |
params |
(list) List of parameters to apply, if not listed in the previous ones. |
In each step, the number of filters is halved wrt the previous step. Thus, if num_steps == 3
, the number of filters in the layers in this block is: 8, 4, 2.
The composed object.
block_downsample block_unet
Other blocks: block_half
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.