I need to feed variable length sequences into my model.
My model is Embedding + LSTM + Conv1d + Maxpooling + softmax
.
When I set mask_zero = True
in Embedding
, I fail to compile at Conv1d
.
How can I input mask value in Conv1d
or is there another solution?