@albanD made most likely the same mistake as I did here and confused the PackedSequence.data attribute with the deprecated tensor.data one.
PackedSequence.data
tensor.data