%% Create Feature Input Layer
% Create a feature input layer with the name 'input' for observations consisting of 21 features.

layer = featureInputLayer(21,'Name','input')

% Include a feature input layer in a Layer array.

numFeatures = 21;
numClasses = 3;
 
layers = [
    featureInputLayer(numFeatures,'Name','input')
    fullyConnectedLayer(numClasses, 'Name','fc')
    softmaxLayer('Name','sm')
    classificationLayer('Name','classification')]

% Copyright 2020 The MathWorks, Inc.