I am building a model in Keras. I have an input
X = Input(shape=(input_size, ), name='input_feature')
and a fixed pre-given numpy matrix D which is input_size by n.
I want to concatenate X and D before input them to the next layer. In other word, I need to concatenate each slice of X and D to generate a new inpt whose expected size should be (none, input_size, n+1). So what should I do to concatenate them? In my understanding, the batch size is none since it will adaptive to the batch size of input X when we fit data to the model.