Hi, I’m doing manual calculations for the LSTM layer and want to compare the results with the output of the program in PyTorch. However, I found the results were different. I use 1 layer of LSTM and initialized all of the bias and weight with values of 1 and the h_0 and c_0 value with 0.
Here is the LSTM formula from the official PyTorch website:

I will send a Google Drive link containing the result from PyTorch and my manual calculation because I can’t upload more than 1 image right now, here is the GDrive link:
https://drive.google.com/drive/folders/13MqWWcjwQjY3R7zcY1TOaqvFs-dHVpJ0?usp=sharing 1
Can someone explain why I got a different result from the output of the program?
Thank you!