fully connected layer in cnn python