Base class for all neural network modules.
ResNet(
block,
layers,
num_classes = 1000,
zero_init_residual = FALSE,
groups = 1,
width_per_group = 64,
replace_stride_with_dilation = NULL,
norm_layer = NULL
)
the blocks that need to passed to ResNet
the layers to pass to ResNet
the number of classes
logical, initializer
the groups
the width per group
logical, replace stride with dilation
norm_layer