Thank you for your reply!
The dimensions of these 2 tensors X and Y are different and for my case, I want the dimension of X. So, what I can do is put Y into an LSTM and get this as the same dimension as of X.
Then I can do a point-wise addition between X and Y to get an unified-weighted tensor.
Can you share will point-wise addition would be a good operation in this case? or there are other better operations?