Resnet block of `nf` features. `conv_kwargs` are passed to `conv_layer`.
DenseResBlock(
nf,
norm_type = 1,
ks = 3,
stride = 1,
padding = NULL,
bias = NULL,
ndim = 2,
bn_1st = TRUE,
act_cls = nn()$ReLU,
transpose = FALSE,
init = "auto",
xtra = NULL,
bias_std = 0.01,
dilation = 1,
groups = 1,
padding_mode = "zeros"
)
number of features
normalization type
kernel size
stride
padding
bias
number of dimensions
batch normalization 1st
activation
transpose
initizalier
xtra
bias standard deviation
dilation number
groups number
padding mode
block