Hi !
I’m new on pytorch (moving from torch), and I’m having some problems to implement a model …
I’ve two variable length time-serie sequences that will be forwarded in the same network, and its output will be compared using the cosine distance.
The problem here is that PackedSequence expects the sequences to be ordered by seq length. However, my model expects two sequences as input, so if I order them, then first seq of the first input may not be related with the first seq of the second input.
What can I use to be able to compare the correct pair of sequence ?