How to get deep learning layer output size?

조회 수: 10 (최근 30일)
Itzik Ben Shabat
Itzik Ben Shabat 2019년 4월 2일
편집: Angelo Yeo 2024년 2월 9일
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

채택된 답변

Maria Duarte Rosa
Maria Duarte Rosa 2019년 4월 5일
  댓글 수: 4
Utkarsh Virtuous
Utkarsh Virtuous 2021년 1월 19일
net.Layers().Weights give you the learned parameters. Specify the layer number in bracket.
Angelo Yeo
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 CenterFile Exchange에서 Sequence and Numeric Feature Data Workflows에 대해 자세히 알아보기

태그

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by