Skip to content

Commit

Permalink
Update visualization.md (#2942)
Browse files Browse the repository at this point in the history
* Update visualization.md

Added show_layer_names argument and its default value to docs

* Update visualization.md
  • Loading branch information
mpt5 authored and fchollet committed Jun 10, 2016
1 parent ab4bf44 commit cea6c18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/templates/visualization.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ from keras.utils.visualize_util import plot
plot(model, to_file='model.png')
```

`plot` takes one optional arguments:
`plot` takes two optional arguments:

- `show_shapes` (defaults to False) controls whether output shapes are shown in the graph.
- `show_layer_names` (defaults to True) controls whether layer names are shown in the graph.

You can also directly obtain the `pydot.Graph` object and render it yourself,
for example to show it in an ipython notebook :
Expand Down

0 comments on commit cea6c18

Please sign in to comment.