Filter löschen
Filter löschen

unflattenLayer from a fullyConnectedLayer

3 Ansichten (letzte 30 Tage)
Blake Van Winkle
Blake Van Winkle am 14 Mär. 2020
Kommentiert: 泽宇 项 am 25 Apr. 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,

Akzeptierte Antwort

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

Weitere Antworten (0)

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by