unflattenLayer from a fullyConnectedLayer

7 visualizzazioni (ultimi 30 giorni)
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,

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Deep Learning Toolbox in Help Center e File Exchange

Prodotti


Release

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by