Pack sequence with Dataset

Hi,

I am looking for a representative snippet to integrate the Dataset and DataLoader class with pack_sequence and pad_sequence.

Is there any tutorials, snippets, examples for this use case?

I have a difficult time to build up a pipeline with pack_sequence.

Thanks,