z = layers.concatenate([x, y]) output = layers.Dense(1, activation='sigmoid')(z) model = Model([input_1, input_2], output) model.summary()