Hello,
Many CNN networks presented in scientific papers have something called a flatten layer. It seems to me that the MATLAB equivalent of this layer is a flattenLayer, but it does not work with images. Is there any way to easily implement a network that works with images with a flatten layer in MATLAB?

답변 (1개)

Jon Cherrie
Jon Cherrie 2021년 4월 23일

1 개 추천

In MATLAB, in many cases, you don't need a flattern layer. Flattern layers are often used before a fully connected layer. The fully connected layer in MATLAB will "auto flatten" in some sense and thus the flattern layer is not needed.

카테고리

도움말 센터 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

제품

릴리스

R2021a

질문:

2021년 4월 23일

답변:

2021년 4월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by