December 2018
Intermediate to advanced
268 pages
8h 23m
English
The model definition for the discriminator is a binary classifier structure. We'll go over the structure here:
model = Sequential()
model.add(Flatten(input_shape=self.SHAPE))
This layer does exactly what it sounds like: it is flattening the data into a single data stream.
model.add(Dense(self.CAPACITY, input_shape=self.SHAPE))model.add(LeakyReLU(alpha=0.2))
A dense layer is simply ...
Read now
Unlock full access