def METHOD_NAME(self, epoch, logs=None):
    random_latent_vectors = tf.random.normal(
        shape=(self.num_img, self.latent_dim)
    )
    generated_images = self.model.generator(random_latent_vectors)
    generated_images *= 255
    generated_images.numpy()
    for i in range(self.num_img):
        img = keras.utils.array_to_img(generated_images[i])
        img.save("generated_img_%03d_%d.png" % (epoch, i))