Incorporate trained LSTM network in simulink

1 次查看(过去 30 天)
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 个评论
Prajith Chilummula
Prajith Chilummula 2019-5-10
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:
.

请先登录,再进行评论。

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by