Effacer les filtres
Effacer les filtres

unflattenLayer from a fullyConnectedLayer

3 vues (au cours des 30 derniers jours)
Blake Van Winkle
Blake Van Winkle le 14 Mar 2020
Commenté : 泽宇 项 le 25 Avr 2024
Hi All:
I am building a network that I want to convert from a fully connected network into a CNN-like structure. I see that there is a "flattenLayer", but I don't see anything about unflattening. Do you all know how to do this?
Something like this is desired:
...
fullyConnectedLayer(4),...
deflatten([1,1]),...
This would get give us 2x2
Thanks,

Réponse acceptée

Blake Van Winkle
Blake Van Winkle le 15 Mar 2020
To all:
After a google search referencing github, I found something that i think works...
Specifically, "reshapeLayer".
Blake

Plus de réponses (0)

Catégories

En savoir plus sur Image Data Workflows dans Help Center et File Exchange

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by