For simpler models, a simple model summary is sufficient, but for more complex topologies, Keras provides a way to visualize the model. It is a layer on top of the graphviz library.
Model visualization
Getting ready
Please make sure graphviz is installed:
sudo apt-get install graphviz
Also, install pydot, which is needed in the underlying implementation:
sudo pip install pydot
How to do it...
Let's take a look at an example where we create a simple model and call plot_model on it.
The plot_model() function in Keras creates a plot of the neural network...