plot_model: Plot model architecture to a file

View source: R/utils.R

plot_modelR Documentation

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(s)

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

References

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


kerasR documentation built on Aug. 17, 2022, 5:06 p.m.