%% Include Layer in Network
% You can use a custom layer in the same way as any other layer in Deep Learning Toolbox.
% Create a layer array containing the custom layer preluLayer, attached to this is example as a supporting file. To access this layer, open this example as a live script.

layers = [
    imageInputLayer([28 28 1])
    convolution2dLayer(5,20)
    batchNormalizationLayer
    preluLayer(20)
    fullyConnectedLayer(10)
    softmaxLayer
    classificationLayer];

% Copyright 2018 The MathWorks, Inc.