How to use nn.LSTMCell to build nn.LSTM

I means, I can not find out the relationship between nn.LSTMCell and nn.LSTM.Alought I know that nn.LSTMCell is stacked to be nn.LSTM. But there is no output but just (h0,c0) in LSTMCell, well nn.LSTM has not only (h0,c0) but also output. So, is there any one can tell me how to use nn.LSTMCell to build nn.LSTM???