Creates a visualization of the model structure using pydot
.
grapher = keras.utils.dot_utils.Grapher()
model
and writes it to to_file
.Sequential
)Examples:
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')