How to model 2 sets of input in RNN

Hi,
I have two sets of input. I want one set to initialize the hidden state of LSTM RNN and use these hidden states as initial points for the RNN. How can I model that? I have attached the format below.
Any links to examples would be very helpful.
Thank you.