Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PackedSequence support #7

Open
Soonhwan-Kwon opened this issue Nov 27, 2018 · 4 comments
Open

PackedSequence support #7

Soonhwan-Kwon opened this issue Nov 27, 2018 · 4 comments

Comments

@Soonhwan-Kwon
Copy link

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'

@StefOe
Copy link
Owner

StefOe commented Dec 30, 2018

Could you please give a short example code?

@dharmesh312
Copy link

facing the same problem not working for packed sequence

@dharmesh312
Copy link

@Soonhwan-Kwon do you have a solution for this ?????

@StefOe
Copy link
Owner

StefOe commented Apr 29, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants