how to add a FeedForward layer after my LSTM layer
조회 수: 1 (최근 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!