This function requires that you have installed graphviz and pydot in Python.
plot_model(model, to_file = "model.png", show_shapes = FALSE,
show_layer_names = TRUE)
model object to plot
output location of the plot)
controls whether output shapes are shown in the graph
controls whether layer names are shown in the graph
Taylor B. Arnold, taylor.arnold@acm.org
Chollet, Francois. 2015. Keras: Deep Learning library for Theano and TensorFlow.