When I use package_padded_sequence and pad_packed_sequence to handle variable length sequences.I have a problem, that is, I can’t print the result of pad_packed_sequence output when my batch_first is set to True.
2019-08-09 16-13-54屏幕截图.png1042×529 79.7 KB

However, once I set the batch_first in the pad_packed_sequence function to False, I can output the result correctly.
Thank you for your help.