how to add a FeedForward layer after my LSTM layer
Mostra commenti meno recenti
Dear all
I wish to know how I could add a feedforward layer after my LSTM layers
thanks
Risposte (1)
Ajay Pattassery
il 30 Dic 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 Commenti
Ahmad Kamal Bin Mohd Nor
il 30 Dic 2019
Ajay Pattassery
il 30 Dic 2019
Could you elaborate on the feedforward layer? What does that layer accomplish?
Categorie
Scopri di più su Deep Learning Toolbox in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!