Incorporate trained LSTM network in simulink

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 comentario

Prajith Chilummula
Prajith Chilummula el 10 de Mayo de 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:
.

Iniciar sesión para comentar.

Respuestas (1)

Arkadiy Turevskiy
Arkadiy Turevskiy el 18 de Oct. de 2021

0 votos

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

Categorías

Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 1 de Mayo de 2019

Respondida:

el 18 de Oct. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by