unflattenLayer from a fullyConnectedLayer

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

2 votos

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 Deep Learning Toolbox en Centro de ayuda y File Exchange.

Productos

Versión

R2019a

Preguntada:

el 14 de Mzo. de 2020

Comentada:

el 25 de Abr. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by