How to get deep learning layer output size?
59 views (last 30 days)
Show older comments
Itzik Ben Shabat on 2 Apr 2019
Commented: Utkarsh Virtuous on 19 Jan 2021
I am getting to know MATLAB's capability with deep learning (I am fluent in TensorFlow).
I built a very big computation graph.
My question is :
How can I get a specific layer's output sizes without training the network? (for dubugging purposes)
I know that I can do:
features = activations(net,X,layer)
but this requires me to train the network (I want to avoid it since it will take a while).
Maria Duarte Rosa on 5 Apr 2019
Have you tried analyzeNetwork?
Utkarsh Virtuous on 19 Jan 2021
net.Layers().Weights give you the learned parameters. Specify the layer number in bracket.
More Answers (0)
Find more on Image Data Workflows 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!