Is there any way to compute the number of trainable parameters from code in a deep CNN network?

9 Ansichten (letzte 30 Tage)
Hello
I am using a six layer compact CNN model for classification after intantiating the layers and training data to trainNetwork(). I want to calculate the number of trainable parameters in this network. Something similar to the below in pytorch:
model=net()
for parameter in model.parameters():
print(parameter)
Is there any way avaible in MATLAB?

Antworten (0)

Kategorien

Mehr zu Image Data Workflows finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by