Let's define the decoder which takes the encoded values from the encoder and returns the reconstructed image:
decoder = Dense(784, activation='sigmoid')(encoder)
Let's define the decoder which takes the encoded values from the encoder and returns the reconstructed image:
decoder = Dense(784, activation='sigmoid')(encoder)