def METHOD_NAME(self):
    model = Sequential()
    model.add(Dense(512, input_dim=self.latent_dim))
    model.add(LeakyReLU(alpha=0.2))
    model.add(Dense(256))
    model.add(LeakyReLU(alpha=0.2))
    model.add(Dense(1, activation="sigmoid"))
    encoded_repr = Input(shape=(self.latent_dim,))
    validity = model(encoded_repr)
    return Model(encoded_repr, validity)