title: Understanding the dimensions of a fully-connected layer that follows a max-pooling layer
body: <p>In the diagram (architecture) below, how was the (fully-connected) dense layer of 4096 units derived from last max-pool layer (on the right) of dimensions <code>256x13x13</code>? Instead of 4096, shouldn't it be 256*13*13=43264 ?</p>
  
  <p><a href="https://i.stack.imgur.com/aBHPw.png" rel="noreferrer"><img src="https://i.stack.imgur.com/aBHPw.png" alt="Convolutional Neural Network"></a></p>