PackedSequence support
Soonhwan-Kwon opened this issue · comments
Soonhwan-Kwon commented
https://github.com/StefOe/indrnn-pytorch/blob/master/indrnn.py
class IndRNN(nn.Module) describes that input can be the PackedSequence but it is not.
For example,
line 232:
x.size(batch_index)
makes error
AttributedError: 'PackedSequence' object has no attribute 'size'
Stefan Oehmcke commented
Could you please give a short example code?
dharmesh chourasiya commented
facing the same problem not working for packed sequence
dharmesh chourasiya commented
@Soonhwan-Kwon do you have a solution for this ?????
Stefan Oehmcke commented
Right now it does not support PackedSequences. I might look into this at some point, but you are welcome to submit a patch for this.