Introduction

Tutorials

Developer guide

API Reference

private vgg_convolutional_layersfunction

vgg_convolutional_layers(config, batchnorm, inchannels)

Create VGG convolution layers (reference).

Arguments

  • config: vector of tuples (output_channels, num_convolutions) for each block (see Metalhead.vgg_block)
  • batchnorm: set to true to include batch normalization after each convolution
  • inchannels: number of input channels