Convert caffe lstm to pytorch

Hi, I want to convert lstm model from caffe to PyTorch, but the calculation results have a problem. I think I correctly set the parameter information required by PyTorch lstm {weight_ih_l0, weight_hh_l0, bias_ih_l0, bias_hh_l0}. because i got same shape between caffe and pytorch
In caffe, bias_ih and bias_hh merged into bias, so I passed the bias to bias_ih and set bias_hh to 0.

can someone tell me where’s problems? thank you!