Sequence input for classification problem with more than 2 branches of sub-operations

I plan to introduce the sequence as the input for a classification problem. Since the Matlab still fails to support multiple sequence input layers, I have to pack several sequences together as one, and send to the input layer. The model struture is shown below.
This model is neat and without any errors. However, my desired model seems to be like the picture below. I want a "splitter" so that I can split the vector(at a time point) in the sequence, for further operation seperately. Is there any block in the panel or codes I can write to realize this structure?

2 Kommentare

Do you want to send different vector elements coming out of seqfold to the three fc layers or feed the same vector to all three?
If you want to send different elements, you need to write a custom layer that does that (it a very simple one), and if you want to send the same vector, then connect them, you can connect the output of seqfold to as many layers as you want.
Going back into sequnfold raises similar questions, how do you want to merge the data?
Do you want to Add? Multiply? Concatenate?
Hi, yrzhak,
Thanks for your reply.
I want to send different vector elements coming out of seqfold to three FC layer.
I'm wondering where I can find the "custom layer"? I tried to look for it in the Deep Network Designer toolbox, but cannot find such one.
Once these three FC branches finish calculation, the three result/vector will be conconcatenate as one, and then send to the sequnfold layer.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 26 Jun. 2021

Kommentiert:

am 7 Jul. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by