Incorporate trained LSTM network in simulink

2 vues (au cours des 30 derniers jours)
Anjali Rijil
Anjali Rijil le 1 Mai 2019
I have to validate my trained network on the system. For this I need to make a simulink model. I have to get the trained network in simulink. gensim does not work since it can only be used for NARX trained network, but I have my network trained using LSTM. Please help.
  1 commentaire
Prajith Chilummula
Prajith Chilummula le 10 Mai 2019
As an implementation method, you load the weight information of each unit, generate a calculation formula as an m script using it, and introduce the generated m script as a Matlab Function block.
The below link might be helpful:
.

Connectez-vous pour commenter.

Réponses (1)

Arkadiy Turevskiy
Arkadiy Turevskiy le 18 Oct 2021
Hi,
Starting with 21a you can use Stateful Predict and Stateful Clasiffy blocks.
Take a look at this example too.
Hope this helps.
Arkadiy

Catégories

En savoir plus sur Sequence and Numeric Feature Data Workflows 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