Clear Filters
Clear Filters

multi input and multi output LSTM

8 views (last 30 days)
Mostafa Aghaie
Mostafa Aghaie on 18 Aug 2022
Answered: Yash Sharma on 5 Jul 2024 at 4:55
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)

Yash Sharma
Yash Sharma on 5 Jul 2024 at 4:55
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 Deep Learning Toolbox 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!