Thanks so much for taking the time! This was helpful. I just have two more questions:


The LSTM that you were talking about that performs each time step in the background, specifically, is the nn.LSTM, not nn.LSTMCell, right? This might have been one of my confusions.


If training the LSTM by batch, I pad the captions to have the same length, and the final loss is the mean of the loss of all the targets (excluding padded ones). Should I be doing anything else?