December 2018
Intermediate to advanced
268 pages
8h 23m
English
Helper functions are the same as the discriminator and generator—just with the GAN model context. Here's the model summary:
def summary(self): return gan_model.summary()
With this summary, you should see this output in the Terminal:
_________________________________________________________________Layer (type) Output Shape Param # =================================================================sequential_1 (Sequential) (None, 28, 28, 1) 1514128 _________________________________________________________________sequential_2 (Sequential) (None, 1) 923553 =================================================================Total params: 2,437,681Trainable params: 1,510,288Non-trainable params: 927,393_________________________________________________________________ ...
Read now
Unlock full access