Skip to content
This repository has been archived by the owner on Aug 28, 2021. It is now read-only.

Using rnnFusedPointwise in LSTMCell #2

Open
alexmaraval opened this issue Oct 23, 2020 · 0 comments
Open

Using rnnFusedPointwise in LSTMCell #2

alexmaraval opened this issue Oct 23, 2020 · 0 comments

Comments

@alexmaraval
Copy link

Hi,
Im trying to run your experiments but can't figure out where to find the code corresponding to the following (in scripts/rl_zforcing.py and scripts/rl_zforcing_dec.py)

from torch.nn._functions.thnn import rnnFusedPointwise as fusedBackend

used later on in the definition of class LSTMCell. However there is No module named 'torch.nn._functions' anymore in PyTorch it seems. If I understand correctly this code was available up until PyTorch version 0.4.1 but was discontinued after that ? So do you know where I should now point towards to use the same function ?

By searching I found a similar function in this old repo that this user probably forked from pytorch a while back. Is that the intended function to be used ?

Thanks

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

No branches or pull requests

1 participant