How it works...

Prior to connecting the output of the (second) convolution layer with a fully connected network, in step 1, we reshape the four-dimensional convolution layer into a two-dimensional tensor. The first dimension (?) represents any number of input images (as rows) and the second dimension represents the flattened vector of features generated for each image of length 4,096; that is, 8 x 8 x 64 (as columns). Steps 2 and 3 validate the dimensions of the reshaped layers and input features.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset