Layer called with an input that isn't a symbolic tensor keras

前端 未结 3 1937
不知归路
不知归路 2021-02-18 14:48

I\'m trying to pass the output of one layer into two different layers and then join them back together. However, I\'m being stopped by this error which is telling me that my inp

3条回答
  •  天命终不由人
    2021-02-18 15:30

    I think you need to add axis=1 to concatenate, Try:

    x = keras.layers.concatenate([book_out, char_out], axis=1)
    

提交回复
热议问题