Fully connected layers in LSTM regression
1 view (last 30 days)
Show older comments
Ahmed Elbeltagi
on 27 Sep 2020
Commented: Ahmed Elbeltagi
on 30 Sep 2020
Hello everyone,
Please, i am impementing the LSTM regression using Matlab R 2019b but i have error related to fully connected layers (see the attached screenshot).
Please help me to solve this error.
Thanks
0 Comments
Accepted Answer
Srivardhan Gadila
on 30 Sep 2020
You have to remove the space present between the function name and the parentheses i.e., use the below code instead:
layers = [sequenceInputLayer(inputSize)
lstmLayer(numHiddenUnits)
fullyConnectedLayer(numResponses)
regressionLayer];
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!