Pad_packed_sequence and pack_padded_sequence

I want to know does pad_packed_sequence and pack_padded_sequence is necessary when using the biLSTM?

Please see Understanding pack_padded_sequence and pad_packed_sequence and https://suzyahyah.github.io/pytorch/2019/07/01/DataLoader-Pad-Pack-Sequence.html (referred to in that article).

1 Like

I got it. Thank you so much!