🍀 Challenge: Building the Generator
This task will test your knowledge on building the Fashion MNIST generator class.
We'll cover the following
Problem statement
A partial Generator
class is provided to you. Your task is to define the:
-
Network architecture
- The input layer should have
100
nodes. - The hidden layer should have
200
nodes with theLeakyReLU
activation applied to the output. The gradient of the left half of the function should be . The hidden layer output should be normalized before it enters the final layer. - The output layer should have
784
nodes with theSigmoid
activation function applied to the output.
- The input layer should have
-
Optimiser as
Adam
. Note that the learning rate should be0.0001
.
Get hands-on with 1400+ tech skills courses.