TorchScript support for torch.nn.utils.rnn.pack_padded_sequence() and torch. nn.utils.rnn.pad_packed_sequence() · Issue #21282 · pytorch/pytorch · GitHub
PyTorchのpack_padded_sequenceの効能 #PyTorch - Qiita
Error with Lengths in pack_padded_sequence - PyTorch Forums
Getting "RuntimeError: 'lengths' argument should be a 1D CPU int64 tensor, but got 1D cuda:0 Long tensor" · Issue #240 · shenweichen/DeepCTR-Torch · GitHub
Pytorch tutorial on batch for sequences - YouTube
Sentiment Analysis with LSTM and TorchText with Code and Explanation