{ }
View source on GitHub |
Convert a Keras model to dot format.
tf.keras.utils.model_to_dot(
model,
show_shapes=False,
show_dtype=False,
show_layer_names=True,
rankdir='TB',
expand_nested=False,
dpi=200,
subgraph=False,
show_layer_activations=False,
show_trainable=False,
**kwargs
)
Returns | |
---|---|
A pydot.Dot instance representing the Keras model or
a pydot.Cluster instance representing nested model if
subgraph=True .
|