Visualizing Networks with TensorFlow 2.x and TensorBoard
In this chapter, we are going to take a peek inside a machine's "mind" while it's "thinking" through the layers of a deep learning neural network. The number of lines of code required to build a sequential classifier for a convolutional neural network (CNN) has been drastically reduced with TensorFlow 2. Running the classifier only takes a click. However, to understand the program when something goes wrong is a more difficult task, and visualizing the outputs of the layers can be very productive.
Visualizing the output of the layers of a CNN can provide an in-depth knowledge of each individual step comprising the whole process.
In this chapter, as in several of the preceding chapters, we will define the layers of a CNN. This time, we will add more layers and extract the output of each layer to create output images. We will build this process from scratch in...