def multi_input_output_model():
    a = keras.layers.Input(shape=(3,), name='input_a')
    b = keras.layers.Input(shape=(5,), name='input_b')
    dense_1 = keras.layers.Dense(7, name='dense_1')
    dense_2 = keras.layers.Dense(7, name='dense_2')
    c = dense_1(a)
    d = dense_2(b)
    e = keras.layers.Dropout(0.5, name='dropout')(c)
    model = keras.models.Model([a, b], [d, e])
    return model
def multi_input_output_model():
    a = keras.layers.Input(shape=(3,), name='input_a')
    b = keras.layers.Input(shape=(5,), name='input_b')
    dense_1 = keras.layers.Dense(7, name='dense_1')
    dense_2 = keras.layers.Dense(7, name='dense_2')
    c = dense_1(a)
    d = dense_2(b)
    e = keras.layers.Dropout(0.5, name='dropout')(c)
    model = keras.models.Model([a, b], [d, e])
    return model