%% Create Layer Normalization Layer
% Create a layer normalization layer with the name 'layernorm'.

layer = layerNormalizationLayer('Name','layernorm')

%
% Include a layer normalization layer in a Layer array.

layers = [
    imageInputLayer([32 32 3]) 
    convolution2dLayer(3,16,'Padding',1)
    layerNormalizationLayer
    reluLayer   
    maxPooling2dLayer(2,'Stride',2)
    convolution2dLayer(3,32,'Padding',1)
    layerNormalizationLayer
    reluLayer
    fullyConnectedLayer(10)
    softmaxLayer
    classificationLayer]

% Copyright 2020 The MathWorks, Inc.