I want to use 3CNN with 3GRU layers. Here is the architecture:
layer_a = Input(shape=(120,), dtype='float32',name='main')
layer_b = Input(shape=(9,), dtype='float32', name='site')
layer_c = Input(shape=(4,), dtype='float32', name='access')
model = Model(inputs=[layer_a, layer_b,layer_c], outputs=[layer_f])
model.compile(optimizer='adam',loss=smape_error)
But when I tried to fit into my data, it produces an error:
Input 0 is incompatible with layer gru_14: expected ndim=3, found ndim=2.
Not sure what went wrong?