Filter löschen
Filter löschen

how to add a FeedForward layer after my LSTM layer

2 Ansichten (letzte 30 Tage)
Ahmad Kamal Bin Mohd Nor
Ahmad Kamal Bin Mohd Nor am 27 Dez. 2019
Kommentiert: Ajay Pattassery am 30 Dez. 2019
Dear all
I wish to know how I could add a feedforward layer after my LSTM layers
thanks

Antworten (1)

Ajay Pattassery
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]
Refer here for more information.
  2 Kommentare
Ahmad Kamal Bin Mohd Nor
Ahmad Kamal Bin Mohd Nor am 30 Dez. 2019
Hi Ajay,
Does fullyConnectedLayer equal to feedforward layer?
I actually just want to know what is a feedforward layer in matlab. All doc that I see is feedforward network. Im searching for feedforward layer.
Ajay Pattassery
Ajay Pattassery am 30 Dez. 2019
Could you elaborate on the feedforward layer? What does that layer accomplish?

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by