Thanks for clarifying the question.
I believe that’s one of the “GAN hacks” as e.g. described by @smth in here 3.
While the repository is ~5 years old by now and also contains this warning:

(this list is no longer maintained, and I am not sure how relevant it is in 2020)

it still seems to be relevant