thank you very much, what I did to solve it, it consisted of a cnnEncoder that gets a vector [Batch size, parameters] and that I use in my lstm. now I’m only looking to concatenate 2 tensors ([batch size, parameters] , 1 is the output cnn and the second is original sequence )to the lstm network