%% Load Pretrained VGGish Network
% Load a pretrained VGGish convolutional neural network and examine the layers and classes.
% Use vggish to load the pretrained VGGish network. The output net is a SeriesNetwork object.

net = vggish

%
% View the network architecture using the Layers property. The network has 24 layers. There are nine layers with learnable weights, of which six are convolutional layers and three are fully connected layers.

net.Layers

%
% Use analyzeNetwork to visually explore the network.

analyzeNetwork(net)

%
% Copyright 2020 The MathWorks, Inc.