nn()$Module for the ResNet Block

ResnetBlock(
  dim,
  pad_mode = "reflection",
  norm_layer = NULL,
  dropout = 0,
  bias = TRUE
)

Arguments

dim

dimension

pad_mode

padding mode

norm_layer

normalization layer

dropout

dropout rate

bias

bias or not

Value

None