what is the difference between LayerGraph and DAGNetwork in deep learning?
Show older comments
I find that the data structure of LayerGraph and DAGNetwork in neural network toolbox have the same contents. So, is there any difference between them?
3 Comments
Von Duesenberg
on 11 Jul 2018
Differences arise between DAG networks and series networks. The documentation explains all this quite well.
Karthiga Mahalingam
on 11 Jul 2018
A LayerGraph is used to specifically describe layout of the layers of a DAG network. It has methods to play around with the layer structure such as addLayers, connectLayers. removeLayers etc. A DAGNetwork is the neural network model as a whole and not just the layers. Its' methods involve playing around with the model like predict, classify, activations etc. In short, you'd be using layerGraph to specify a DAGNetwork but there is much more to it like training it etc.
Jack Xiao
on 12 Jul 2018
Accepted Answer
More Answers (2)
Mingrun Wang
on 25 Jul 2018
1 vote
one is a class,and one is struct.
Mingrun Wang
on 25 Jul 2018
0 votes
the pair of LayerGraph and DAGnetwork remsembles with one of Layer and SeriesNetwork(in my mind)
3 Comments
Jack Xiao
on 13 Jan 2019
Alaa ElDin ElHilaly
on 22 Jan 2019
Then how can we convert a LayerGraph we trained to seriesNetwork to use it in classifications?
Handenur Caliskan
on 24 Jan 2019
I have the same situtation too. How can we change the trained layergraph to a seriesnetwork or dagnetwork?
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
