left = Sequential()
left.add(...)
left.add(...)
right = Sequential()
right.ad(...)
right.add(...)
model = Sequential()
model.add(Merge([left, right]))
model.add(...)
using merge:
a = Input((10,))
b = Dense(10)(a)
c = Dense(10)(a)
d = merge([b, c])
model = Model(a, d)
Can you please confirm that the Keras 1.2.2 code
from keras.engine import mergem = merge([init, x], mode='sum')is equivalent to this Keras 2.0.2 code:from keras.layers import addm = add([init, x])
Merge
:merge
: