I'm currently trying to design a generator model which take input image and the conditional label concatenated in the image.
The input image is in 3D (including channel), while the label is in 1D (containing idx of the class)
input_image = Input(shape=(row, col, chann))
cond = Input(shape=(1,))
Based on info of Concatenate, I need to reshape cond
to be in same shape of input_image
. But as far as I found on Keras docs, there's only RepeatVector
that repeats 2D tensor into 3D.
How do I replicate the cond
input to be in the same shape so I can concatenate it?