'why use dense in CNN?

When I saw example code, the code was written as dense in layer.

Dense layer is just setting the number of nodes and use activation code I think.

so, I think use conv2d is better than use dense because conv2d can apply filter

why don`t use conv2d in code



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source