unflattenLayer from a fullyConnectedLayer

8 views (last 30 days)
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,

Accepted Answer

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

More Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!