ValueError with Concatenate Layer (Keras functional API)
Try
fusion = Concatenate()([sentenceMatrix, deletionMatrix])
Try:
fusion = concatenate([sentenceMatrix, deletionMatrix])
Concatenate
is used in a Sequential
model, whereas concatenate
is used in a Functional API
.