I want to extract features from last layer of VGGFace 2 model (Senet50_256). The last layer is a convolution layer of shape -1,256,1,1. How do I flatten this layer for transfer learning? I got the model from the VGGFace 2 Github https://github.com/ox-vgg/vgg_face2 29 along with the weights.
Also I am freezing the weights of the model and I only want to optimize the layer which I will add.
Also am I using correct model and weights?