multi input and multi output LSTM

11 views (last 30 days)
Mostafa Aghaie
Mostafa Aghaie on 18 Aug 2022
Answered: Hornett on 20 Sep 2024
Hello,Dears
I want to create LSTM with multiple inputs and multiple outputs for example (y1(t),y2(t),y3(t))=(x1(t),x2(t),x3(t),x4(t),y1(t-1),y2(t-1),y3(t-1)), but I can't find any documentation about it.
Can anyone share anything on this?

Answers (1)

Hornett
Hornett on 20 Sep 2024
You can train a multi-output LSTM network using a custom training loop. Here is an example of how to train a network with multiple outputs: https://www.mathworks.com/help/deeplearning/ug/train-network-with-multiple-outputs.html

Categories

Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!