Implement flatten layer in CNN

조회 수: 1 (최근 30일)
Ali Al-Saegh
Ali Al-Saegh 2020년 9월 5일
댓글: Jianyu Zhao 2021년 11월 3일
Please, how to implement the flatten layer in CNN, i.e. transform 2D feature map of convoulution layer output to 1D vector?
  댓글 수: 5
Ali Al-Saegh
Ali Al-Saegh 2020년 9월 6일
I was thinking about this but it is actually confusing me as it is just a fully connected, I understand it as connecting each entry within a feature map to all of the neurons in the fully connected layer.
I still cannot imagine how a fully connected layer flattens a feature map!
Thanks for your help!
Jianyu Zhao
Jianyu Zhao 2021년 11월 3일
Hi friend, I also met this problem, I tried flatten layer but I found it is used for squence data. So have you solved this problem? Or do you have any ideas? I don't know how to do it so I just jump into pytorch instead:(

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Data Workflows에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by