How to get deep learning layer output size?
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Itzik Ben Shabat
le 2 Avr 2019
Modifié(e) : Angelo Yeo
le 9 Fév 2024
Hi,
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).
Thanks
0 commentaires
Réponse acceptée
Maria Duarte Rosa
le 5 Avr 2019
Hi Itzik,
Have you tried analyzeNetwork?
4 commentaires
Utkarsh Virtuous
le 19 Jan 2021
net.Layers().Weights give you the learned parameters. Specify the layer number in bracket.
Angelo Yeo
le 9 Fév 2024
Modifié(e) : Angelo Yeo
le 9 Fév 2024
@Mirko Prezioso: A new class NetworkAnalysis will be added from R2024a. This class can be retrieved as an output of analyzeNetwork function, and will capture the output of analyzeNetwork. This will include a property called "LayerInfo" as a table.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Sequence and Numeric Feature Data Workflows dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!