Creating and compiling an adversarial network