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

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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

질문:

2021년 6월 26일

댓글:

2021년 7월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by