For building deep neural networks, we will use the DNN function. We have three layers and we will use the ELU function as the activation function. You can get this function from
TensorFlow, tf.nn.elu, from which you can get a lot of functions that will help you build your deep learning models. The following screenshot shows the lines of code used for
producing this function and for getting the output in the form of logits:
The final layer is called the logits layer. We won't be using any activation function in
this layer.