Implement flatten layer in CNN

1 visualización (últimos 30 días)
Ali Al-Saegh
Ali Al-Saegh el 5 de Sept. de 2020
Comentada: Jianyu Zhao el 3 de Nov. de 2021
Please, how to implement the flatten layer in CNN, i.e. transform 2D feature map of convoulution layer output to 1D vector?
  5 comentarios
Ali Al-Saegh
Ali Al-Saegh el 6 de Sept. de 2020
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 el 3 de Nov. de 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:(

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Image Data Workflows en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by