unflattenLayer from a fullyConnectedLayer

11 visualizaciones (últimos 30 días)
Blake Van Winkle
Blake Van Winkle el 14 de Mzo. de 2020
Comentada: 泽宇 项 el 25 de Abr. de 2024 a las 16:34
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,

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Image Data Workflows en Help Center y File Exchange.

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by