private
vgg_convolutional_layers
— function
vgg_convolutional_layers(config, batchnorm, inchannels)
Create VGG convolution layers (reference).
Arguments
config
: vector of tuples(output_channels, num_convolutions)
for each block (seeMetalhead.vgg_block
)batchnorm
: set totrue
to include batch normalization after each convolutioninchannels
: number of input channels