Is it possible to share more complicated module with branching, let's say inception module for example?
I found answer for sharing simple sequential module here but it doesn't seem to be sufficient for my purposes.
I need to be able to do something like this:
def shared_module():
a = conv()
a = conv(a)
b = conv()
p = concat([a, b])
shared = shared_module()
m_x = shared(Input(shape))
m_y = shared(Input(shape))