July 2019
Intermediate to advanced
512 pages
19h 39m
English
Now that we defined encoder and decoder, we define the model which takes images as input and returns the output of the decoder which is the reconstructed image:
model = Model(inputs=input_image, outputs=decoder)
Let's look at a summary of the model:
model.summary()________________________________________________________________ Layer (type) Output Shape Param # ================================================================= input_1 (InputLayer) (None, 784) 0 _________________________________________________________________ dense (Dense) (None, 32) 25120 _________________________________________________________________ dense_1 (Dense) (None, 784) 25872 ================================================================= Total ...
Read now
Unlock full access