Incorporate trained LSTM network in simulink

2 visualizzazioni (ultimi 30 giorni)
Anjali Rijil
Anjali Rijil il 1 Mag 2019
Risposto: Arkadiy Turevskiy il 18 Ott 2021
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 Commento
Prajith Chilummula
Prajith Chilummula il 10 Mag 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:
.

Accedi per commentare.

Risposte (1)

Arkadiy Turevskiy
Arkadiy Turevskiy il 18 Ott 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

Categorie

Scopri di più su Sequence and Numeric Feature Data Workflows in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by