Fork from a Dense Layer

48 views
Skip to first unread message

Sahil

unread,
Oct 14, 2016, 3:55:27 PM10/14/16
to Keras-users
I am new to keras. How do we fork a dense layer into multiple branches?

fnmps

unread,
Oct 15, 2016, 9:20:40 AM10/15/16
to Keras-users, sahilbha...@gmail.com
If you're using a graph model, just set the input as the dense layer you want to fork

model = Graph()
model
.add_input(name='input')
model
.add_node(Dense(...), name='dense', input="input")


model
.add_node(Dense(...), name='fork1', input="dense")

model
.add_node(Dense(...), name='fork2', input="dense")

...


Reply all
Reply to author
Forward
0 new messages