Remove dot utils doc
This commit is contained in:
parent
3037183c1b
commit
ed9834c62a
@ -36,6 +36,4 @@ pages:
|
||||
- Sequence Preprocessing: preprocessing/sequence.md
|
||||
- Text Preprocessing: preprocessing/text.md
|
||||
- Image Preprocessing: preprocessing/image.md
|
||||
- Utils:
|
||||
- Visualization Utilities: utils/visualization.md
|
||||
|
||||
|
@ -36,8 +36,3 @@
|
||||
- [Sequence](preprocessing/sequence.md)
|
||||
- [Text](preprocessing/text.md)
|
||||
- [Image](preprocessing/image.md)
|
||||
|
||||
---
|
||||
|
||||
## Utils
|
||||
- [Visualization](utils/visualization.md)
|
@ -1,28 +0,0 @@
|
||||
## Grapher
|
||||
|
||||
Creates a visualization of the model structure using `pydot`.
|
||||
|
||||
```python
|
||||
grapher = keras.utils.dot_utils.Grapher()
|
||||
```
|
||||
- __Methods__:
|
||||
- __plot__(model, to_file): creates a graph visualizing the structure of `model` and writes it to `to_file`.
|
||||
- __Arguments__:
|
||||
- __model__: an instance of a Keras model (e.g. `Sequential`)
|
||||
- __to_file__: the filename to save the visualization png to.
|
||||
|
||||
__Examples__:
|
||||
|
||||
```python
|
||||
from keras.models import Sequential
|
||||
from keras.layers.core import Dense, Activation
|
||||
from keras.utils.dot_utils import Grapher
|
||||
|
||||
grapher = Grapher()
|
||||
|
||||
model = Sequential()
|
||||
model.add(Dense(64, 2, init='uniform'))
|
||||
model.add(Activation('softmax'))
|
||||
grapher.plot(model, 'model.png')
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user