A study of the use of the Tensorflow GradientTape class for differentiation and custom gradient generation along with its use to implement a Deep-Convolutional Generative Adversarial Network (GAN) to generate images of hand-written digits.
-
Here, we examine in detail the uasge of GradientTape, a custom differentiation class by Tensorflow which allows us to calculate the derivative of complex functions programmatically. This has immense applications in Deep Learning as we can build customer hidden layers in Neural Networks and specify how the gradients of the loss function are calculated during the training phase.
(Source) -
We have also studied an implementation of a Generative Adversarial Network (GAN) to accept noise vector as an input to the Generator and output synthetically generated images of hand-written digits, similar to the ones on the MNIST Dataset. We will be looking at a specific variation called Deep Convolutional Generative Adversarial Network (DCGAN) for this task.
(Source)
We have used the renowned MNIST Handwritten Digits Dataset containing 60,000 train samples and 10,000 test samples of 28x28 grayscale images depicting numerical digits written by a huge number of human subjects.