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,

 採用された回答

Blake Van Winkle
Blake Van Winkle 2020 年 3 月 15 日

2 投票

To all:
After a google search referencing github, I found something that i think works...
Specifically, "reshapeLayer".
Blake

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDeep Learning Toolbox についてさらに検索

製品

リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by