Define the decoder with two layers:
decoder_hidden = Dense(intermediate_dim, activation='relu')
decoder_reconstruct = Dense(original_dim, activation='sigmoid')
Reconstruct the images using decoder which takes the latent vector as input and returns the reconstructed image:
decoded = decoder_hidden(z)
reconstructed = decoder_reconstruct(decoded)