public VGG — struct
VGG(imsize::Dims{2}; config, inchannels, batchnorm = false, nclasses, fcsize, dropout)
Construct a VGG model with the specified input image size. Typically, the image size is (224, 224).
Keyword Arguments:
config: VGG convolutional block configuration. It is defined as a vector of tuples(output_channels, num_convolutions)for each blockinchannels::Integer : number of input channelsbatchnorm::Bool : set totrueto use batch normalization after each convolutionnclasses::Integer : number of output classesfcsize: intermediate fully connected layer size (seeMetalhead.vgg_classifier_layers)dropout: dropout level between fully connected layers