From d9596b2680f7adc18f98246a200902fb2f7e95a2 Mon Sep 17 00:00:00 2001 From: wangyang59 Date: Thu, 15 Dec 2016 16:19:28 -0800 Subject: [PATCH] minor change on gan tutorial --- doc/tutorials/gan/index_en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tutorials/gan/index_en.md b/doc/tutorials/gan/index_en.md index e3841c4c9..dfedc1116 100644 --- a/doc/tutorials/gan/index_en.md +++ b/doc/tutorials/gan/index_en.md @@ -12,7 +12,7 @@ The generator and discriminator take turn to be trained using SGD. The objective ## Implementation of GAN Model Structure Since GAN model involves multiple neural networks, it requires to use paddle python API. So the code walk-through below can also partially serve as an introduction to the usage of Paddle Python API. -There are three networks defined in gan_conf.py, namely generator_training, discriminator_training and generator. The relationship to the model structure we defined above is that discriminator_training is the discriminator, generator is the generator, and the generator_training combined the generator and discriminator since training generator would require the discriminator to provide loss function. This relationship is described in the following code +There are three networks defined in gan_conf.py, namely **generator_training**, **discriminator_training** and **generator**. The relationship to the model structure we defined above is that **discriminator_training** is the discriminator, **generator** is the generator, and the **generator_training** combined the generator and discriminator since training generator would require the discriminator to provide loss function. This relationship is described in the following code ```python if is_generator_training: noise = data_layer(name="noise", size=noise_dim) -- GitLab