Connecting various layers in deep learnig

How do I achieve the following architectur in Matlab? How do I give input to the 128 unit LSTM? what should be my X train and Y train for that layer?

Answers (1)

You can use layerGraphfor connecting layers of your network.
You can specify your network as a digraph:
lgraph = layerGraph(dagNet)
It extracts the layers from the DAG (Directed Acyclic Graph) network dagNet.
For creating a DAG Network refer to the following link:

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Asked:

on 4 Sep 2019

Answered:

on 9 Sep 2019

Community Treasure Hunt

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

Start Hunting!