What is the recommended approach to use padded sequences (not packed) in RNNs in PyTorch? The solution must allow one to extract the final RNN state conveniently and must work for bi-directional RNNs. Is such a thing not the PyTorch way?
Also, will the act of packing and unpacking sequences before and after using RNNs cause a performance hit?