December 2018
Intermediate to advanced
268 pages
8h 23m
English
The initialization method for this class has two important sections—the variables that we can use to tune the GAN and the initialization of the models themselves. You'll notice that we initialize all of the models and then load the MNIST data in the init method. This ensures that the class is ready to train once it is loaded. A new instance of the class will be needed if you need to change any of the parameters. If those parameters need to be dynamically reconfigurable, you would need to develop a set of helper functions to do that. For the scope of this example, that functionality has been left out.
Here are the steps to build the init class:
Read now
Unlock full access