Sunnydreamrain / IndRNN_pytorch

Independently Recurrent Neural Networks (IndRNN) implemented in pytorch.
133 stars 30 forks source link

Not abel to use this on packed sequence , AttributeError: 'PackedSequence' object has no attribute 'size' #2

Closed dharmesh312 closed 5 years ago

Sunnydreamrain commented 5 years ago

Should be a simple program problem. Please check pytorch for the details on packedSequence.
If you want to use sequences of variable lengths, please use the cell form as in the cPTB example.