%% Create Bidirectional LSTM Layer
% Create a bidirectional LSTM layer with the name 'bilstm1' and 100 hidden units.

layer = bilstmLayer(100,'Name','bilstm1')

% Include a bidirectional LSTM layer in a Layer array.

inputSize = 12;
numHiddenUnits = 100;
numClasses = 9;

layers = [ ...
    sequenceInputLayer(inputSize)
    bilstmLayer(numHiddenUnits)
    fullyConnectedLayer(numClasses)
    softmaxLayer
    classificationLayer]