Minor fix for visualization documentation. (#5969)
This commit is contained in:
parent
1a353f06ec
commit
de52b4bf4b
2
docs/templates/visualization.md
vendored
2
docs/templates/visualization.md
vendored
@ -19,7 +19,7 @@ You can also directly obtain the `pydot.Graph` object and render it yourself,
|
||||
for example to show it in an ipython notebook :
|
||||
```python
|
||||
from IPython.display import SVG
|
||||
from keras.utils.visualize_util import model_to_dot
|
||||
from keras.utils.vis_utils import model_to_dot
|
||||
|
||||
SVG(model_to_dot(model).create(prog='dot', format='svg'))
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user