Code for A Gradual, Semi-Discrete Approach to Generative Network Training via Explicit Wasserstein Minimization (Chen et al., ICML 2019)