%% Create Instance Normalization Layer
% Create an instance normalization layer with the name 'instancenorm'.

layer = instanceNormalizationLayer('Name','instancenorm')

% Include an instance normalization layer in a Layer array.

layers = [
    imageInputLayer([28 28 3])
    convolution2dLayer(5,20)
    instanceNormalizationLayer
    reluLayer
    maxPooling2dLayer(2,'Stride',2)
    fullyConnectedLayer(10)
    softmaxLayer
    classificationLayer]

% Copyright 2020 The MathWorks, Inc.