private
vgg_block
— function
vgg_block(ifilters, ofilters, depth, batchnorm)
A VGG block of convolution layers (reference).
Arguments
ifilters
: number of input feature mapsofilters
: number of output feature mapsdepth
: number of convolution/convolution + batch norm layersbatchnorm
: set totrue
to include batch normalization after each convolution