Hi, I am confused about the loss that I should use when I apply pack_padded_sequence in the Encoder RNN part. Do I have to define the mask and multiply it with the loss at each time stamp of decoder? Or Pytorch can support this function without the further mask.
Thanks!