How to transform fully connected layer into convolution layer?
2 ビュー (過去 30 日間)
古いコメントを表示
I want to replace a fully connected layer with a convolution layer, but I don't know how to complete it. I reference help document, and find a function named "transposedConv2dLayer", but I don't believe "cropping" is helpful. So if somebody could give me any suggest, thanks a lot.
0 件のコメント
回答 (1 件)
Shounak Mitra
2018 年 6 月 21 日
編集済み: Matt J
2022 年 4 月 27 日
Hello QU,
Can you please tell me if you're using a Series or DAG network? The steps to replace a layer is different for these 2 network types.
For a Series Network, follow steps here -->
For DAG follow this -->
Also, is the motivation behind replacing the FC layer with a conv2d is to make the network deeper?
1 件のコメント
参考
カテゴリ
Help Center および File Exchange で Image Data Workflows についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!