result次のように定義されているため、エラーが発生しますSequential()はモデルの単なるコンテナーであり、モデルの入力を定義していない。
あなたが構築しようとしているものを考えるとresult、3番目の入力を取るように設定されていますx3。
first = Sequential()
first.add(Dense(1, input_shape=(2,), activation='sigmoid'))
second = Sequential()
second.add(Dense(1, input_shape=(1,), activation='sigmoid'))
third = Sequential()
# of course you must provide the input to result with will be your x3
third.add(Dense(1, input_shape=(1,), activation='sigmoid'))
# lets say you add a few more layers to first and second.
# concatenate them
merged = Concatenate([first, second])
# then concatenate the two outputs
result = Concatenate([merged,  third])
ada_grad = Adagrad(lr=0.1, epsilon=1e-08, decay=0.0)
result.compile(optimizer=ada_grad, loss='binary_crossentropy',
               metrics=['accuracy'])
ただし、このタイプの入力構造を持つモデルを構築するための私の好ましい方法は、関数型APIを使用することです。
ここにあなたが始めるためのあなたの要件の実装があります:
from keras.models import Model
from keras.layers import Concatenate, Dense, LSTM, Input, concatenate
from keras.optimizers import Adagrad
first_input = Input(shape=(2, ))
first_dense = Dense(1, )(first_input)
second_input = Input(shape=(2, ))
second_dense = Dense(1, )(second_input)
merge_one = concatenate([first_dense, second_dense])
third_input = Input(shape=(1, ))
merge_two = concatenate([merge_one, third_input])
model = Model(inputs=[first_input, second_input, third_input], outputs=merge_two)
ada_grad = Adagrad(lr=0.1, epsilon=1e-08, decay=0.0)
model.compile(optimizer=ada_grad, loss='binary_crossentropy',
               metrics=['accuracy'])
コメントの質問に答えるには: 
1)結果とマージはどのように関連していますか?あなたがそれらがどのように連結されるかを意味すると仮定します。
連結は次のように機能します。
  a        b         c
a b c   g h i    a b c g h i
d e f   j k l    d e f j k l
つまり、行が結合されます。
2)では、x1が最初にx2入力され、2番目にx3入力され、3 番目に入力されます。
     
              
resultおよびmerged(またはmerged2)レイヤーは、回答の最初の部分でどのように相互に接続されていますか?