multi input and multi output LSTM

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?

回答(1 个)

Hornett
Hornett 2024-9-20
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

类别

帮助中心File Exchange 中查找有关 Deep Learning Toolbox 的更多信息

产品

版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by