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"
)

Arguments

nf

number of features

norm_type

normalization type

ks

kernel size

stride

stride

padding

padding

bias

bias

ndim

number of dimensions

bn_1st

batch normalization 1st

act_cls

activation

transpose

transpose

init

initizalier

xtra

xtra

bias_std

bias standard deviation

dilation

dilation number

groups

groups number

padding_mode

padding mode

Value

block