rnnFusedPointwise在>;中不再可用=PyTorch 1.0

rnnFusedPointwise在>;中不再可用=PyTorch 1.0,pytorch,Pytorch,我有一个在PyTorch 0.4中运行良好的代码库,但每当我尝试使用PyTorch 1.0+运行它时,它都会抱怨以下导入 from torch.nn._functions.thnn import rnnFusedPointwise as fusedBackend 我在下面的代码段中使用fusedBackend if input.is_cuda: igates = F.linear(input, w_ih) hgates = F.linear(hx, w_hh) stat

我有一个在PyTorch 0.4中运行良好的代码库,但每当我尝试使用PyTorch 1.0+运行它时,它都会抱怨以下导入

from torch.nn._functions.thnn import rnnFusedPointwise as fusedBackend
我在下面的代码段中使用fusedBackend

if input.is_cuda:
    igates = F.linear(input, w_ih)
    hgates = F.linear(hx, w_hh)
    state = fusedBackend.LSTMFused.apply
    return state(igates, hgates, cx, b_ih, b_hh)
有没有办法修复PyTorch 1.0+的导入错误