Learn R Programming

kerasR (version 0.8.1)

plot_model: Plot model architecture to a file

Description

This function requires that you have installed graphviz and pydot in Python.

Usage

plot_model(model, to_file = "model.png", show_shapes = FALSE,
  show_layer_names = TRUE)

Arguments

model

model object to plot

to_file

output location of the plot)

show_shapes

controls whether output shapes are shown in the graph

show_layer_names

controls whether layer names are shown in the graph

Author

Taylor B. Arnold, taylor.arnold@acm.org

References

Chollet, Francois. 2015. Keras: Deep Learning library for Theano and TensorFlow.