<p dir="auto">Hi, it will be nice to have a function that do the above automatically.</p>
<p dir="auto">Taking in a list of tensors, can we have a function to pad them? This is a useful feature to process sequences of different lengths and process mini batches.</p>
<p dir="auto">I think the documentation of pad_packed_sequence and torch.nn.utils.rnn.pack_padded_sequence are a little confusing <a href="http://pytorch.org/docs/nn.html?highlight=pad_packed#torch.nn.utils.rnn.pad_packed_sequence" rel="nofollow">http://pytorch.org/docs/nn.html?highlight=pad_packed#torch.nn.utils.rnn.pad_packed_sequence</a> maybe adding some examples could help the explanation.</p>