1

I have confusion between the two. Could someone please elaborate on it with some examples?

harsath
  • 699
  • 1
  • 7
  • 8

1 Answers1

5

Flatten as the name implies, converts your multidimensional matrices (Batch.Size x Img.W x Img.H x Kernel.Size) to a nice single 2-dimensional matrix: (Batch.Size x (Img.W x Img.H x Kernel.Size)). During backpropagation it also converts back your delta of size (Batch.Size x (Img.W x Img.H x Kernel.Size)) to the original (Batch.Size x Img.W x Img.H x Kernel.Size).

Dense layer is of course the standard fully connected layer.

Display name
  • 637
  • 1
  • 7
  • 16