how to add a FeedForward layer after my LSTM layer
2 ビュー (過去 30 日間)
古いコメントを表示
Dear all
I wish to know how I could add a feedforward layer after my LSTM layers
thanks
0 件のコメント
回答 (1 件)
Ajay Pattassery
2019 年 12 月 30 日
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 件のコメント
Ajay Pattassery
2019 年 12 月 30 日
Could you elaborate on the feedforward layer? What does that layer accomplish?
参考
カテゴリ
Help Center および File Exchange で Image Data Workflows についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!