What are the modules of the Generative Adversarial Network in Torch?
In Torch, there are several commonly used libraries for generating adversarial networks (GAN) modules.
- successive
- The nn.Linear function
- a two-dimensional convolutional neural network layer
- This refers to a 2-dimensional batch normalization operation.
- Rectified Linear Unit
- Leaky rectified linear unit (ReLU)
- the nn.Sigmoid function
- Binary Cross Entropy Loss
- Mean Absolute Error
- Mean squared error loss
These modules can be combined together to build a generative adversarial network, where the generator and discriminator are trained to produce samples that closely resemble real data in order to deceive the discriminator.