Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created Oct 10, 2020
Embed
What would you like to do?
from keras.models import Sequential
from keras.layers import Dense
from ann_visualizer.visualize import ann_viz
model = Sequential()
model.add(Dense(units=4,activation='relu',
input_dim=7))
model.add(Dense(units=4,activation='sigmoid'))
model.add(Dense(units=2,activation='relu'))
ann_viz(model, view=True, filename="example", title="Example ANN")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment