Given an image generated by a GAN it recovers its latent vector.
You can read the blog post here: Blog post
The algorithm was implemented following the paper: Precise Recovery of Latent Vectors from Generative Adversarial Networks by Zachary C. Lipton, and Subarna Tripathi