I’m not sure the padding scheme would be all that important unless there are things like time dependencies in the data/labels or other constraints that you wish to enforce.
Example padding function:
torch.nn.utils.rnn.pad_sequence — PyTorch 1.9.0 documentation