unflattenLayer from a fullyConnectedLayer

조회 수: 8 (최근 30일)
Blake Van Winkle
Blake Van Winkle 2020년 3월 14일
댓글: 泽宇 项 2024년 4월 25일
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,

채택된 답변

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by