Effective Dynamics of Generative Adversarial Networks