Implement flatten layer in CNN

6 views (last 30 days)
Ali Al-Saegh
Ali Al-Saegh on 5 Sep 2020
Commented: Jianyu Zhao on 3 Nov 2021
Please, how to implement the flatten layer in CNN, i.e. transform 2D feature map of convoulution layer output to 1D vector?
Jianyu Zhao
Jianyu Zhao on 3 Nov 2021
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:(

Sign in to comment.

Answers (0)


Community Treasure Hunt

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

Start Hunting!