A problem for LSTMcell


(C Dai) #1

For example,I have init a LSTMcell
and use output, state = self.core(xt, state) to get output and the state.
I am confused about the meaning of x and y instate[x][y].
Does state[0][-1] mean the previous hidden state?If so,what does state[-1][0] mean?