Extracting last timestep outputs from PyTorch RNNs January 24, 2018 research, tooling, tutorial, machine learning, nlp, pytorch Here's some code I've been using to extract the last hidden states from an RNN with variable length input....