Input to LSTM network tensorflow
<p>I have a time series of length t (x0, ...,xt) each of the xi is a d-dimension vector i.e. xi=(x0i, x1i, ...., xdi). Thus my input X is of shape [batch_size, d]</p>

<p>The input for the tensorflow LSTM should be of size [batchSize, hidden_size]. 
My question is how should i input my time series to the LSTM. One possible solution that i thought of is to have additional weight matrix, W, of size [d,hidden_size] and to input the LSTM with X*W + B. </p>

<p>Is this correct or should i input something else to the netwoרk?</p>

<p>Thanks</p>