[Answered]: How to reshape the tensor in keras?

keras.layers.core.Reshape() the function is helpful (see also the document).

reshaped = Reshape((12, 12, 2560))(drop9)