How to get deep learning layer output size?
10 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Maria Duarte Rosa
2019 年 4 月 5 日
Hi Itzik,
Have you tried analyzeNetwork?
4 件のコメント
Utkarsh Virtuous
2021 年 1 月 19 日
net.Layers().Weights give you the learned parameters. Specify the layer number in bracket.
Angelo Yeo
2024 年 2 月 9 日
編集済み: Angelo Yeo
2024 年 2 月 9 日
@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.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Sequence and Numeric Feature Data Workflows についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!