Effacer les filtres
Effacer les filtres

Fully connected layers in LSTM regression

7 vues (au cours des 30 derniers jours)
Ahmed Elbeltagi
Ahmed Elbeltagi le 27 Sep 2020
Commenté : Ahmed Elbeltagi le 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

Réponse acceptée

Srivardhan Gadila
Srivardhan Gadila le 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];
You can also refer to Command vs. Function Syntax.
  1 commentaire
Ahmed Elbeltagi
Ahmed Elbeltagi le 30 Sep 2020
Thanks sir for your help.
I have used your code and it is working.
Also, i found another error in this code as shown in the attached screenshot image regarding IntialLearningRate and TrainingOptions.
Please chech the error.
Waiting for your support.
Thanks

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Deep Learning Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by