how to add a FeedForward layer after my LSTM layer
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Dear all
I wish to know how I could add a feedforward layer after my LSTM layers
thanks
0 Kommentare
Antworten (1)
Ajay Pattassery
am 30 Dez. 2019
You could add desired layers after your LSTM network layer by specifying them as columns in the layers array.
Consider an example below where fullyConnectedLayer, softmaxLayer and classificationLayer are added after the lstmLayer.
layers = [ ...
sequenceInputLayer(inputSize)
lstmLayer(numHiddenUnits)
fullyConnectedLayer(numClasses)
softmaxLayer
classificationLayer]
2 Kommentare
Ajay Pattassery
am 30 Dez. 2019
Could you elaborate on the feedforward layer? What does that layer accomplish?
Siehe auch
Kategorien
Mehr zu Image Data Workflows finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!